Duration
s.Duration
s.Instant
s, OffsetDateTime
, and ZonedDateTime
s.Instant
s, OffsetDateTime
, and ZonedDateTime
s.Instant
and related types.
ObjectMapper mapper = new ObjectMapper();
mapper.findAndRegisterModules();
ObjectMapper mapper = new ObjectMapper();
mapper.registerModule(new JSR310Module());
SerializationFeature.WRITE_DATES_AS_TIMESTAMPS
feature is enabled, and
otherwise are serialized in standard ISO-8601
string representation.java.time
types that cannot be represented with numbers and that have
parse functions that can take String
s.LocalDate
s.LocalDate
s.LocalDateTime
s.LocalDateTime
s.LocalTime
s.LocalTime
s.OffsetTime
s.OffsetTime
s.Year
s.Year
s.Copyright © 2014 FasterXML. All Rights Reserved.