Expected BEGIN_ARRAY but was BEGIN_OBJECT

Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 3519 path $.data[1].inspector_user

Gson 中 ""引起来的是STRING, {} 是类,[] 是List

我代码中是这样写的 private List<String> inspector_user

         private inspectorUser inspector_user;//改写后

posted @   dub  阅读(1327)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示