You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
As of Jackson 2.6 the module class supporting the java.time (java8) package has changed [SPR-13212] #17804
Previously the module class supporting Java 8's java.time package was com.fasterxml.jackson.datatype.jsr310.JSR310Module. Now it has been changed to com.fasterxml.jackson.datatype.jsr310.JavaTimeModule.
This is because of a change in the way ZonedDateTime s are serialized; until 2.6 the zone id was included in the string representation. With 2.6 this behaviour has been changed to adhere to ISO 8601 standards in string representation of dates and a new serialization feature WRITE_DATES_WITH_ZONE_ID has been added to enable the old behaviour.
In an effort to provide a backwards compatible behaviour, a new module class JavaTimeModule was created which respects the new serialization feature and the old one was kept which ignores it.
Activity
spring-projects-issues commentedon Jul 13, 2015
Juergen Hoeller commented
As of 4.2, we're registering
JavaTimeModuleif present, just falling back toJSR310Modulefor compatibility with older Jackson versions.Juergen