Return to Snippet

Revision: 44078
at April 5, 2011 22:42 by BenClayton


Initial Code
JSONArray ar = new JSONArray(jsonString);
for (int i = 0; i < ar.length(); i++) {
 JSONObject child = ar.getJSONObject(i);
 // do stuff with child
}

Initial URL

                                

Initial Description

                                

Initial Title
Android: Iterate a JSONArray

Initial Tags

                                

Initial Language
Java