Class LocalTimeDeserializer

All Implemented Interfaces:
ContextualDeserializer, NullValueProvider, ValueInstantiator.Gettable, Serializable

public class LocalTimeDeserializer extends JSR310DateTimeDeserializerBase<LocalTime>
Deserializer for Java 8 temporal LocalTimes.
Author:
Nick Williams
See Also:
  • Field Details

    • INSTANCE

      public static final LocalTimeDeserializer INSTANCE
    • _readTimestampsAsNanosOverride

      protected final Boolean _readTimestampsAsNanosOverride
      Flag for JsonFormat.Feature.READ_DATE_TIMESTAMPS_AS_NANOSECONDS
      Since:
      2.16
    • _isLenient

      protected final boolean _isLenient
      Flag that indicates what leniency setting is enabled for this deserializer (either due JsonFormat.Shape annotation on property or class, or due to per-type "config override", or from global settings): leniency/strictness has effect on accepting some non-default input value representations (such as integer values for dates).

      Note that global default setting is for leniency to be enabled, for Jackson 2.x, and has to be explicitly change to force strict handling: this is to keep backwards compatibility with earlier versions.

      Note that with 2.12 and later coercion settings are moving to CoercionConfig, instead of simple yes/no leniency setting.

      Since:
      2.11
  • Constructor Details

  • Method Details