问题是:在json里面有个arry,arry里面又有一个arry
我的处理方法是:
JSONArray cardComboItems = JSONObject.fromObject(cardComboJob).getJSONArray("items");
然后报错:
net.sf.json.JSONException: 'object' is an array. Use JSONArray instead
请问大神怎么解决这个问题?
PHP中文网2017-04-17 17:50:41
JSONArray CardComboItems = JSONArray.fromObject(cardComboJob).getJSONArray("items");