We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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_custom_serialization,在enum上加上了@jsontype(serializeEnumAsJavaBean = true),序列化没问题,但是反序列化的时候提示 com.alibaba.fastjson.JSONException: parse enum AppType error, value : {"type":3}
com.alibaba.fastjson.JSONException: parse enum AppType error, value : {"type":3}
我是需要自己写反序列化的类么?
The text was updated successfully, but these errors were encountered:
是的,比如: https://github.com/alibaba/fastjson/blob/4cbe5f38c97974dc6b74c6a564cf3a8614173f95/src/test/java/com/alibaba/json/bvt/serializer/enum_/EnumCustomCodecTest.java
Sorry, something went wrong.
@wenshao 我将你EnumCustomCodecTest.java 这个类运行,是不通过的。
No branches or pull requests
根据enum_custom_serialization,在enum上加上了@jsontype(serializeEnumAsJavaBean = true),序列化没问题,但是反序列化的时候提示
com.alibaba.fastjson.JSONException: parse enum AppType error, value : {"type":3}
我是需要自己写反序列化的类么?
The text was updated successfully, but these errors were encountered: