[Solved] Android java type org.json.JSONObject cannot be converted to JSONArray
Change JSONArray list = new JSONArray(Jo_result.getString(“result”)); To JSONObject list = new JSONObject(Jo_result.getString(“result”)); Your string is contained between {} which makes it an object. Keep in mind this {} = Json Object [] = Json Array UPDATE When you do this JSONObject resultsObject = list.getJSONObject(i); it’s expecting another object within the main object, for example : … Read more