fastjson解析json时报错default constructor not found. class.............

前端之家收集整理的这篇文章主要介绍了fastjson解析json时报错default constructor not found. class.............前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
实体类需要有一个空的构造函数
public class User { private String id; private String mobile; private String nickname; public User() { super(); } public User(String id,String mobile,String nickname) { super(); this.id = id; this.mobile = mobile; this.nickname = nickname; }

猜你在找的Json相关文章