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

Allow user to choose enum representation for JsonWriter #91

Closed
jangko opened this issue Jun 23, 2024 · 0 comments · Fixed by #95
Closed

Allow user to choose enum representation for JsonWriter #91

jangko opened this issue Jun 23, 2024 · 0 comments · Fixed by #95

Comments

@jangko
Copy link
Contributor

jangko commented Jun 23, 2024

see status-im/status-desktop#14058

We can add EnumAsNumber: 1,2,3,etc, EnumAsStringifiedNumber: "1", "2", "3", etc, and EnumAsString: depends on how the enum declared, it can be the stringized identifier or the string value of the the enum.

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 a pull request may close this issue.

1 participant