Wie man JSON Array in Java analysiert
//[{"name":"name1","url":"url1"},{"name":"name2","url":"url2"}]
JSONArray jsonarray = new JSONArray(jsonStr);
for (int i = 0; i < jsonarray.length(); i++) {
JSONObject jsonobject = jsonarray.getJSONObject(i);
String name = jsonobject.getString("name");
String url = jsonobject.getString("url");
}
for more info https://stackoverflow.com/questions/18977144/how-to-parse-json-array-not-json-object-in-android
Ad9an