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
{{ message }}
Repository navigation
[Jackson 3] MonthSerializer should follow regular serializer not as plain Enum class.Β #5127
Is your feature request related to a problem? Please describe.
Currently java.time.Months MonthSerializer treats Month's as plain Enum. While implementation would be simple that way, it cannot or make difficult to leverage more robust features like JsonFormat shape overrides, and DateTimeFeatures.
Describe the solution you'd like
Remove Enum handling from java.time.Months MonthSerializer and do like MonthDayDeserializer?
@cowtowncoder Any idea on where and how to document this behavior change? π€
I am trying to figure out when user comes to report breaking behavior, what to tell that person?
Activity
JooHyukKim commentedon Apr 28, 2025
Added PR #5128 to discuss how it should behave
Fix #5127 `MonthSerializer` should become regular non-`Enum`, just reβ¦
cowtowncoder commentedon May 2, 2025
Thanks again @JooHyukKim !
JooHyukKim commentedon May 2, 2025
@cowtowncoder Any idea on where and how to document this behavior change? π€
I am trying to figure out when user comes to report breaking behavior, what to tell that person?
cowtowncoder commentedon May 2, 2025
@JooHyukKim Yeah that is the question. I am not quite sure. One possibility would be to add this to:
https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-2
JooHyukKim commentedon May 3, 2025
Makes sense, added to JSTEP-2