DurationUnitConverter _durationUnitConverter
null
) integer values will be converted into duration
unit configured for the converter.
Using this converter will typically override the value specified in
DeserializationFeature.READ_DATE_TIMESTAMPS_AS_NANOSECONDS
as it is
considered that the unit set in JsonFormat.pattern()
has precedence
since it is more specific.
See [jackson-modules-java8#184] for more info.
Function<T,R> fromMilliseconds
Function<T,R> fromNanoseconds
Function<T,R> parsedToValue
BiFunction<T,U,R> adjust
boolean replaceZeroOffsetAsZ
Boolean _adjustToContextTZOverride
JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE
DateTimeFormatter _formatter
com.fasterxml.jackson.annotation.JsonFormat.Shape _shape
JsonFormat.Shape
annotation on
property or class, or due to per-type "config override", or from global settings:
If Shape is NUMBER_INT, the input value is considered to be epoch days. If not a
NUMBER_INT, and the deserializer was not specified with the leniency setting of true,
then an exception will be thrown.int _typeSelector
DurationUnitConverter _durationUnitConverter
null
) duration values will be converted into integers
with the unit configured for the converter.
Only available when SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS
is enabled
and SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS
is not enabled
since the duration converters do not support fractionsDateTimeFormatter defaultFormat
ToLongFunction<T> getEpochMillis
ToLongFunction<T> getEpochSeconds
ToIntFunction<T> getNanoseconds
Boolean _writeZoneId
JsonFormat.Feature.WRITE_DATES_WITH_ZONE_ID
Copyright © 2020 FasterXML. All rights reserved.