java.lang.NumberFormatException: Expected an int but was 50248571565 at line 1 column 4105 path $.data.data[0].group.dislike_reason[2].id

java.lang.NumberFormatException: Expected an int but was 50248571565 at line 1 column 4105 path $.data.data[0].group.dislike_reason[2].id

出现这个错误是因为 期望是一个int类型的数据,但服务器返回过来的是一个double类型的数据

把 dislike_reason 数组里的 int 改为 double类型就可以了

你可能感兴趣的:(java.lang.NumberFormatException: Expected an int but was 50248571565 at line 1 column 4105 path $.data.data[0].group.dislike_reason[2].id)