com.alibaba.fastjson.JSOnException:exepct '[' ,but {

json解析问题:com.alibaba.fastjson.JSOnException:exepct '[' ,but {...


解:应该是数组对象赋值成了对象了。


需要的值类型:private ArrayList testList;

返回值的类型:private TestList testList;

在进行json转换的时候出现问题




你可能感兴趣的:(Android)