解决方法:
List<UserVO> licenses = new Gson().fromJson(new Gson().toJson(result), new TypeToken<List<UserVO>>(){}.getType());
也就是对报错的地方,再一次进行new Gson().toJson(result)。前提是result是对象,不是JSON数据了
解决方法:
List<UserVO> licenses = new Gson().fromJson(new Gson().toJson(result), new TypeToken<List<UserVO>>(){}.getType());
也就是对报错的地方,再一次进行new Gson().toJson(result)。前提是result是对象,不是JSON数据了