Duration
s.Duration
s.Duration
for a restricted set of ChronoUnit
.seconds
as long
and int
values, passing them to the given converter.java.time
objects with the Jackson core.JavaTimeModule
since Jackson 2.7, see above for
details on differences in the default configuration.LocalDate
s.LocalDate
s.LocalDateTime
s.LocalDateTime
s.LocalTime
s.LocalTime
s.MonthDay
s.MonthDay
s.OffsetTime
s.OffsetTime
s.BigDecimal
out of second, nano-second
components.Year
s.YearMonth
s.YearMonth
s.YearMonthKeyDeserializer
instead.Year
s.JSR310Module
JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE
null
) integer values will be converted into duration
unit configured for the converter.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.JsonFormat.Feature.WRITE_DATES_WITH_ZONE_ID
Copyright © 2020 FasterXML. All rights reserved.