JSONArray//JSON数组
String str=[{"name":"zs"},"hello",true,["c","h"]];
JSONArray ary=new JSONArray(str);
ary.length();
ary.getJSONObject(0).getString("name");
ary.getString(1);
ary.getJSONArry(3).getString(1)
转载于:https://www.cnblogs.com/gentspy/p/5248040.html