1. json數據解析報錯:
Can not deserialize instance of com.xxx.xxx.model.XXXModel out of START_ARRAY token
2. 需要一個Object的,而我用的是List的:
把紅框中的model 類型改爲用 Object 就行了。
1. json數據解析報錯:
Can not deserialize instance of com.xxx.xxx.model.XXXModel out of START_ARRAY token
2. 需要一個Object的,而我用的是List的:
把紅框中的model 類型改爲用 Object 就行了。