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
FastJson 1.1.38 #198
Comments
把成员变量 声明为 public的 不会 有问题。 对getter和 setter估计做了特殊处理。 |
检查你的getter和setter方法是否和属性名匹配。 |
检查了,方法名字正确,是用的eclipse自动生成的set get方法,报错如下 Exception in thread "main" com.alibaba.fastjson.JSONException: create asm serializer error, class class fastjson.test.Beanb
Caused by: java.lang.ClassFormatError: Invalid method Code length 149233 in class file Serializer_1
584874132@qq.com 类似:
如果,getter和setter正确,还不能正常序列化,联系我~ — |
我记得fastjson是用asm自动生成write方法,这个没有使用反射吧,所以set get方法没有也没关系吧 584874132@qq.com 类似:
如果,getter和setter正确,还不能正常序列化,联系我~ — |
private String pName;//
pStatus pName pLeaf pUrl 这四个字段for循环出来是有的,但是JSONObject.toJSONString(userList);就莫名其妙少了这4个字段的值。而且这4个字段不为空。。。求团队解决
The text was updated successfully, but these errors were encountered: