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

对象属性中enum类型字段序列化/反序列化失败问题 #457

Closed
terensu opened this issue Nov 24, 2015 · 2 comments
Closed

对象属性中enum类型字段序列化/反序列化失败问题 #457

terensu opened this issue Nov 24, 2015 · 2 comments
Milestone

Comments

@terensu
Copy link

terensu commented Nov 24, 2015

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

@wenshao
Copy link
Member

wenshao commented Apr 12, 2016

Enum的类和自定义的EnumSerDeserializer方便贴上来么?

@wenshao wenshao added this to the 1.2.9 milestone Apr 15, 2016
wenshao added a commit that referenced this issue Apr 15, 2016
wenshao added a commit that referenced this issue Apr 15, 2016
@wenshao
Copy link
Member

wenshao commented Apr 15, 2016

bug fixed. it will include in 1.2.9 & 1.1.49.android

@wenshao wenshao closed this as completed Apr 15, 2016
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants