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

Introduce 'decodeEnumsCaseInsensitive' feature to Json. #2345

Merged
merged 4 commits into from
Jul 5, 2023

Conversation

sandwwraith
Copy link
Member

It allows decoding enum values in a case-insensitive manner. It does not affect CLASS kinds or encoding. It is one of the most-voted feature requests.

Also enchance JsonNamingStrategy documentation.

Fixes #209

It allows decoding enum values in a case-insensitive manner. It does not affect CLASS kinds or encoding. It is one of the most-voted feature requests.

Also enchance JsonNamingStrategy documentation.

Fixes #209
@sandwwraith sandwwraith changed the title Introduce 'parseEnumsCaseInsensitive' feature to Json. Introduce 'decodeEnumsCaseInsensitive' feature to Json. Jun 22, 2023
Copy link
Contributor

@shanshin shanshin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sandwwraith sandwwraith merged commit 782b9f3 into dev Jul 5, 2023
@sandwwraith sandwwraith deleted the case-insensitive-enums branch July 5, 2023 17:18
JesusMcCloud pushed a commit to a-sit-plus/kotlinx.serialization that referenced this pull request Jul 5, 2023
It allows decoding enum values in a case-insensitive manner. It does not affect CLASS kinds or encoding. It is one of the most-voted feature requests.

Also enhance JsonNamingStrategy documentation.

Fixes Kotlin#209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants