亲测可用:
String proImg = "[{"a":"aaa"},{"b":"bbb"},{"c":"ccc"},........]";
JSONArray arr = JSONArray.parseArray(proImg);
JSONObject obj = arr.getJSONObject(0);
String imgUrl = (String)obj.get("a");
String imgUrl = "aaa";
亲测可用:
String proImg = "[{"a":"aaa"},{"b":"bbb"},{"c":"ccc"},........]";
JSONArray arr = JSONArray.parseArray(proImg);
JSONObject obj = arr.getJSONObject(0);
String imgUrl = (String)obj.get("a");
String imgUrl = "aaa";