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

Enable SerializationFeature.WRITE_ENUMS_USING_TO_STRING by default (3.0) #4567

Conversation

JooHyukKim
Copy link
Member

@JooHyukKim JooHyukKim commented Jun 6, 2024

Symmetric to its DerializationFeature counterpart (which was added via #4566).

PS: I just found out javadoc also says...

     * Note: this feature should usually have same value
     * as {@link DeserializationFeature#READ_ENUMS_USING_TO_STRING}.

... so it seems reasonable to implement this feature.

@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label Jun 6, 2024
@cowtowncoder cowtowncoder changed the title [ Jackson 3 ] Enable SerializationFeature. WRITE_ENUMS_USING_TO_STRING by default Enable SerializationFeature. WRITE_ENUMS_USING_TO_STRING by default (3.0) Jun 7, 2024
@cowtowncoder cowtowncoder changed the title Enable SerializationFeature. WRITE_ENUMS_USING_TO_STRING by default (3.0) Enable SerializationFeature.WRITE_ENUMS_USING_TO_STRING by default (3.0) Jun 7, 2024
@cowtowncoder cowtowncoder merged commit a8bdd33 into FasterXML:master Jun 7, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants