I am trying to get a list of available numbers from the following json object, using the class from org.json
org.json
{ \"response\":true,
you need to use JSONArray to pull data in an array
JSONArray
JSONObject jObj= new JSONObject(your_json_response); JSONArray array = jObj.getJSONArray("data");