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

Case sensitive enum deserialize #34

Open
silkfire opened this issue Feb 15, 2023 · 0 comments
Open

Case sensitive enum deserialize #34

silkfire opened this issue Feb 15, 2023 · 0 comments

Comments

@silkfire
Copy link

Currently it seems that the library deserializes enum values without taking case sensitivity into an account, so e.g. a value of "hELLo" successfully deserializes into the enum value Hello. Is there a way to force an exception if the casing isn't exactly as specified in the [EnumMember] attribute?

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

No branches or pull requests

1 participant