android 解析JsonArray
摘要:import org.json.JSONArray; import org.json.JSONObject; //jsonData的数据格式:[{ "id": "27JpL~jd99w9nM01c000qc", "version": "abc" },{ "id": "27JpL~j6UGE0...
阅读全文
Android JSON: JSONArray cannot be converted to JSONObject
摘要:JSONArray 转换为 List>报错Android JSON: JSONArray cannot be converted to JSONObject原代码for (int i = 0; i < jsonArray.length(); i++) { JSONObject json...
阅读全文