Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cowtowncoder opened this issue Dec 10, 2024 · 0 comments
Labels
3.0 Issue planned for initial 3.0 release

Comments

@cowtowncoder
Copy link
Member

Describe your Issue

(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.

@cowtowncoder cowtowncoder added 3.x Issues to be only tackled for Jackson 3.x, not 2.x 3.0 Issue planned for initial 3.0 release and removed 3.x Issues to be only tackled for Jackson 3.x, not 2.x labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 Issue planned for initial 3.0 release
Projects
None yet
Development

No branches or pull requests

1 participant