Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable Jackson SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS by…
… default Jackson added a breaking change in 2.10 for the way Duration is serialized. Before that the DurationSerializer was using SerializationFeature.WRITE_DATES_AS_TIMESTAMPS to check whether Duration should be serialized as a timestamp or not. Since 2.10 Jackson uses SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS to check whether Duration should be serialized as a timestamp or not. This commit aligns the default for SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS with the default for SerializationFeature.WRITE_DATES_AS_TIMESTAMPS The change in Jackson was done in FasterXML/jackson-modules-java8#75 fixes spring-projectsgh-19345
- Loading branch information