com.alibaba.fastjson.JSOnException:exepct '[' ,but {
2016-11-25 16:40
621 查看
json解析问题:com.alibaba.fastjson.JSOnException:exepct '[' ,but {...
解:应该是数组对象赋值成了对象了。
需要的值类型:private ArrayList<TestList> testList;
返回值的类型:private TestList testList;
在进行json转换的时候出现问题
解:应该是数组对象赋值成了对象了。
需要的值类型:private ArrayList<TestList> testList;
返回值的类型:private TestList testList;
在进行json转换的时候出现问题
相关文章推荐
- com.alibaba.fastjson.JSOnException:exepct '[' ,but {object
- com.alibaba.fastjson.JSONException: exepct '[', but {, type : class com.lvche.pocketscore.bean2.Room
- com.alibaba.fastjson.JSONException: error parse e
- redis通过json方案存取对象com.alibaba.fastjson.JSONException: syntax error, expect
- com.alibaba.fastjson.JSONException: default constructor not found. class ……
- com.alibaba.fastjson.JSONException: syntax error, expect {, actual error
- Exception in thread "AWT-EventQueue-0" com.alibaba.fastjson.JSONException: syntax error, unexpect t
- com.alibaba.fastjson.JSONException: default constructor not found. class com.anerfa.axdblue_code.ho
- Caused by: java.lang.ClassNotFoundException: com.alibaba.fastjson.JSONObject
- com.alibaba.fastjson.JSONException: syntax error, expect {, actual int, pos 0
- java.lang.ClassNotFoundException: com.alibaba.fastjson.JSON
- nested exception is java.lang.NoClassDefFoundError: com/alibaba/fastjson/JSON
- com.alibaba.fastjson.JSONException: not match : - =异常
- kotlin使用com.alibaba.fastjson.JSONException: default constructor not found
- com.alibaba.fastjson.JSONException: autoType is not support.
- 解决com.alibaba.fastjson.JSONException: autoType is not support
- com.alibaba.fastjson.JSONException: not close json text, token : error
- com.alibaba.fastjson.JSONException: create instanc
- com.alibaba.fastjson.JSONException: not close json text, token : error
- Kotlin - com.alibaba.fastjson.JSONException: default constructor not found