-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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类型字段序列化/反序列化失败问题 #457
Milestone
Comments
Enum的类和自定义的EnumSerDeserializer方便贴上来么? |
wenshao
added a commit
that referenced
this issue
Apr 15, 2016
wenshao
added a commit
that referenced
this issue
Apr 15, 2016
bug fixed. it will include in 1.2.9 & 1.1.49.android |
wenshao
added a commit
that referenced
this issue
Jul 17, 2019
asa1997
pushed a commit
to Be-Secure/fastjson
that referenced
this issue
Feb 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
class VO {
private MyEnum myEnum;
public void setMyEnum(MyEnum myEnum){this.myEnum = myEnum;}
public MyEnum getMyEnum(){ return myEnum;}
}
配合自定义的EnumSerDeserializer方式,
序列化|反序列时候:
当设置asm=false,才能成功执行
当设置asm=true,失败
fastJson版本:1.4.2
The text was updated successfully, but these errors were encountered: