Yes unfortunately. There doesn't seem to be any other way of looping over a JSONObject.