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

Parsing and serialization of enums #12

Open
plokhotnyuk opened this issue Feb 6, 2020 · 1 comment
Open

Parsing and serialization of enums #12

plokhotnyuk opened this issue Feb 6, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@plokhotnyuk
Copy link
Contributor

plokhotnyuk commented Feb 6, 2020

Enumerations are quite frequently used types that usually encoded as strings in JSON, while sometimes numeric IDs are used too.

Please add some docs about how to parse and serialize in some handy and efficient way:

  • Java's enumerations
  • Scala's enumerations
  • sum types that use Scala's objects

Possible some specialized derivation functions can be provided to users for that.

@russellremple
Copy link
Contributor

More progress here: #94

@htmldoug htmldoug added the enhancement New feature or request label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants