解决:Can not deserialize instance of com.xxx.xx.XXModel out of START_ARRAY toke
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。
json数据解析报错:
Can not deserialize instance of com.xxx.xxx.model.XXXModel out of START_ARRAY token
需要一个Object的,而我用的是List的:
把红框中的model 类型改为用 Object 就行了。
还没有评论,来说两句吧...