在这里,你将获得JSONObject,因此请更改以下行:
JSonArray jsonArray = new JSonArray(readlocationFeed);
具有以下内容:
JSonObject jsnobject = new JSonObject(readlocationFeed);
之后
JSonArray jsonArray = jsnobject.getJSonArray("locations");for (int i = 0; i < jsonArray.length(); i++) { JSonObject explrObject = jsonArray.getJSonObject(i);}


