[Solved] How to get this data in JSON in android
JSONArray jsonArray = new JSONArray(“here is your json string “) ; int count = jsonArray.length() ; for (int i = 0; i < count; i++) { JSONObject jsonObject = jsonArray.getJSONObject(i) ; String type = jsonObject.optString(“type”) ; JSONArray datesArray = jsonObject.optJSONArray(“dates”) ; int datesCount = datesArray.length() ; for(int j = 0; j< datesCount; j++){ JSONObject dateItem … Read more