1

jsonobject cannot be converted to jsonarray nested jsonarray android

view story
linux-howto

http://stackoverflow.com – I want to parse a nested jsonarray JSONParser jParser = new JSONParser(); // getting JSON string from URL JSONObject json = jParser.getJSONFromUrl(url); try { dialogcreated = json.getJSONArray(TAG_DETAILS); // Log.d("apptoken",login.toString()); for (int i = 0; i < dialogcreated.length(); i++) { JSONObject d = dialogcreated.getJSONObject(i); String msg = d.getString(TAG_MSG); dialogs = d.getJSONArray("dialogdetails"); I am getting jsonobject cannot be converted to jsonarray err (HowTos)