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
Is your feature request related to a problem? Please describe.
Jackson 2.12 introduced the "always break when trying to serialize java.time objects without the JavaTimeModule` behavior.
Unfortunately, this breaks our 1M+ line codebase which makes ObjectMappers all over the place. And we have client applications that expect the (terrible) POJO format for some time objects.
It looks like you've already thought about this with your comment here:
// 05-May-2020, tatu: Should we check for possible Shape override to "POJO"?
We've pinned jackson to 2.11.4 across the board but this is not a sustainable solution.
Describe the solution you'd like
Ideally, a system property that restores the old behavior - let java.time.* be serialized as objects. A distant second would be a feature to enable on the objectmapper which restores old behavior. That would require hunting down every possible objectmapper creation in our codebase, which will hurt.