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

Support Enum deserialization from Array for Flags enums #40

Open
wertzui opened this issue May 30, 2024 · 0 comments
Open

Support Enum deserialization from Array for Flags enums #40

wertzui opened this issue May 30, 2024 · 0 comments

Comments

@wertzui
Copy link

wertzui commented May 30, 2024

When working with [Flags] enums, these are often represented as an array of strings in JSON.

It would be nice to have this functionality too in the JsonStringEnumMemberConverter.
It should check if the value is a string or a number and proceed as before, but also introduce support if the value is an array.

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