Try this way,hope this will help you to solve your problem. try{ String jsonRespone=”{\”From\”:\”13-06-2014\”,\”To\”:\”19-06-2014\”,\”Employee\”:[{\”EmpId\”:\”1\”,\”EmpCode\”:\”101\”,\”EmpName\”:\”abc\”,\”EmpLName\”:\”def\”,\”Job\”:[{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”}]},{\”EmpId\”:\”1\”,\”EmpCode\”:\”101\”,\”EmpName\”:\”abc\”,\”EmpLName\”:\”def\”,\”Job\”:[{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”},{\”ID\”:\”1\”,\”JobName\”:\”abc\”,\”Time\”:\”12:00\”}]}]}”; JSONObject responeJson = new JSONObject(jsonRespone); String From = responeJson.getString(“From”); String To = responeJson.getString(“To”); ArrayList<HashMap<String,Object>> data = new ArrayList<HashMap<String, Object>>(); JSONArray employeeJsonArray = responeJson.getJSONArray(“Employee”); for (int i=0;i<employeeJsonArray.length();i++){ HashMap<String,Object> row = new HashMap<String, Object>(); row.put(“EmpId”,employeeJsonArray.getJSONObject(i).getString(“EmpId”)); row.put(“EmpCode”,employeeJsonArray.getJSONObject(i).getString(“EmpCode”)); row.put(“EmpName”,employeeJsonArray.getJSONObject(i).getString(“EmpName”)); row.put(“EmpLName”,employeeJsonArray.getJSONObject(i).getString(“EmpLName”)); JSONArray jobJsonArray = employeeJsonArray.getJSONObject(i).getJSONArray(“Job”); ArrayList<HashMap<String,String>> … Read more