Skip to content

Change default of SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS to false in 3.0 #4846

@cowtowncoder

Description

@cowtowncoder

(note: part of proposed changes via https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-2)

It seems that the default of writing "Duration" (like Period) values as numeric timestamps is something that should be changed: while this can be more efficient than the alternative of writing Duration values as Strings, most users expect Strings, and most frameworks seem to change the default.

So the proposal is to change the default accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.0Issue planned for initial 3.0 release3.0-release-notesIssues relevant for 3.0 release notes.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions