Move date/time SerializationFeature
s into DateTimeFeature
(3.0)
#5066
Labels
3.0-release-notes
3.0
Issue planned for initial 3.0 release
date-time-config
Work related to possible larger DateTimeConfig feature
With #5032 Java Time module (
jackson-datatype-jsr310
) was merge intojackson-databind
. Its configuration settings were renamedDateTimeFeature
, to be used for all date/time configuration (f.ex for Joda module).But there are a few existing
SerializationFeature
s that would make more sense as more specificDateTimeFeature
s. Let's make them. This includes:WRITE_DATES_AS_TIMESTAMPS
(false)WRITE_DATE_KEYS_AS_TIMESTAMPS
(false)WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS
(true)WRITE_DATES_WITH_ZONE_ID
(false)WRITE_DATES_WITH_CONTEXT_TIME_ZONE
(false)WRITE_DURATIONS_AS_TIMESTAMPS
Defaults (shown in parentheses) can remain for now: if changes desired let's handle them under separate issue.
The text was updated successfully, but these errors were encountered: