How to parse below json response using JSONArray, JSONObject:
Sample JSON Data:
{
  "ABC": [
    {
      "BCD": {
        "CDE": "HIJ"
      }
    }
  ]
}
I tried below solution.
JSONArray ja = new JSONArray(jsonObj.get("ABC").toString());
for(int j=0; j<ja.length(); J++)
{
  JSONObject jarr = (JSONObject)ja.get(j);
  System.out.print(jarr.getString("BCD"));
}
How to parse an object inside an object of an array ? How to get CDE ?
 
     
    