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;//改写后
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;//改写后