Expected BEGIN_OBJECT but was BEGIN_ARRAY at line

json数据解析问题

gson解析时一定要注意要解析的数据是{},还是[],另外gson对应的实体类,只能比要解析的gson数据的属性少,不能多

你可能感兴趣的:(Expected BEGIN_OBJECT but was BEGIN_ARRAY at line)