SyntaxFix
Write A Post
Hire A Developer
Questions
Seems like you can't iterate through JSONArray with a for each. You can loop through your JSONArray like this:
JSONArray
for each
for (int i=0; i < arr.length(); i++) { arr.getJSONObject(i); }
Source