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

http://blog.csdn.net/pengpenggxp/article/details/39181859

实体类需要有一个空的构造函数
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;
}
GitHub 加速计划 / fastj / fastjson
3
1
下载
FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
最近提交(Master分支:27 天前 )
c942c834 - 2 年前
5bc4709b - 2 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐