com.alibaba.fastjson.JSONException: create instance error

tyky79it  于 2021-11-27  发布在  Java
关注(0)|答案(0)|浏览(596)

@JSONCreator
public BuildInfo(@JSONField(name = "id") String build_id,
@JSONField(name = "name") String build_name,
@JSONField(name = "num") String build_num) {
this.build_id = build_id;
this.build_name = build_name;
this.build_num = build_num;
}
略...
implementation 'com.alibaba:fastjson:1.2.47'
implementation 'com.alibaba:fastjson:1.1.68.android'

如上面代码所示,使用就提示这个标题的错误,为啥?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题