_cfgHandleAbsentAsNull
: enabling means that `Optional.empty()` values
are handled like Java nulls (wrt filtering on serialization); disabling that
they are only treated as "empty" values, but not like native Java nulls.DoubleStream
serializerDuration
s.Duration
s.seconds
as long
and int
values, passing them to the given converter.IOException
Instant
s, OffsetDateTime
, and ZonedDateTime
s.Instant
s, OffsetDateTime
, and ZonedDateTime
s.Instant
.IntStream
serializerjava.time
objects with the Jackson core.BeanSerializerModifier
needed to sneak in handler to exclude "absent"
optional values iff handling of "absent as nulls" is enabled.JavaTimeModule
since Jackson 2.7, see above for
details on differences in the default configuration.null
keys are needed to be serialized in a Map
with Java 8 temporal keys.java.time
types that cannot be represented
with numbers and that have parse functions that can take String
s,
and where format is not configurable.LocalDate
s.LocalDate
s.LocalDateTime
s.LocalDateTime
s.LocalTime
s.LocalTime
s.LongStream
serializerMonthDay
s.MonthDay
s.OffsetTime
s.OffsetTime
s.IOException
runtime wrapperYear
s.YearMonth
s.YearMonth
s.Year
s.JSR310Module
JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE
JsonFormat.Feature.WRITE_DATES_WITH_ZONE_ID
Copyright © 2019 FasterXML. All rights reserved.