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
Enum serialization error with Java 17 #155
Comments
#156 |
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=deny; support was removed in 17.0 |
Recent fixes to include serialization of Enums were added and included in json-io 4.14.0. Please let me know if that corrects this issue for you. |
It works now but too late, moved away from this lib to Jackson last July |
I have created a test scenario, with an enum and a class with a field typed to this enum.
When I try to serialize this class with Java 17, the enum value is serialized to
null
output:
{"@type":"myPackage.SimpleClass","name":"MyName","myEnum":{"name":null}}
The text was updated successfully, but these errors were encountered: