Skip to content

[Jackson 3] MonthSerializer should follow regular serializer not as plain Enum class. #5127

@JooHyukKim

Description

@JooHyukKim

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?

Usage example

No response

Additional context

No response

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions