showing results for - "loop json object android java"
Lynette
30 Jan 2017
1Iterator<String> iter = json.keys();
2while (iter.hasNext()) {
3    String key = iter.next();
4    try {
5        Object value = json.get(key);
6    } catch (JSONException e) {
7        // Something went wrong!
8    }
9}
10