您的位置:首页 > 产品设计 > UI/UE

Could not read JSON: Can not deserialize instance of java.lang.String[] out of VALUE_STRING token

2017-09-11 09:47 1281 查看
Could not read JSON: Can not deserialize instance of java.lang.String[] out of VALUE_STRING token

如果服务端接收参数的实体类,有数组类型的属性。

{

“param”: [0] // 这样是正确的

}

{

“param”: “[0]” // 这样就会出现上面的情况

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  json
相关文章推荐