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

[Java] Implement enum serialization for java #97

Merged
merged 1 commit into from
May 7, 2023

Conversation

chaokunyang
Copy link
Collaborator

@chaokunyang chaokunyang commented May 7, 2023

What do these changes do?

Support enum serialization for java. Note that enum are serialized using ordinal instead of enum string for speed.
If enum value are reodered, deserialization may got wrong value.

Related issue number

Closes #96

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass, see here for how to run them

@chaokunyang chaokunyang merged commit 14c2be3 into main May 7, 2023
@chaokunyang chaokunyang deleted the add_enum_serializer branch May 7, 2023 09:38
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.

[Java] support java enum serialization
1 participant