json - Nested JSONArray Record Parsing Issue Android -
i making app receives json data server, user select value spinner 0,1,2... , on, on basis of number selection json return data user defined index 0,1.. don't know how parse inner json data in android json = new jsonobject(jsonparser.result); jsonarray jarray = json.getjsonarray("data"); stopelement _stop = new stopelement(); log.d("json algo result", json.tostring()); if (jarray!=null) { (int = 0; < jarray.length(); i++) { jsonarray = jarray.getjsonarray(i); if (jsonarray != null) { (int j = 0; j < jsonarray.length(); i++){ if(i==0) { jsonarray = jarray.getjsonarray(j); _stop.setname(jsonarray.getstring(0)); stopelement.stop_name_list.add(_stop.getname()); } } } else { break; } } } else { return null; } **json data** [[["sadiqabad chowk","33.634525",...