Here you can directly access the data in json array.
JSONArray itemArray = jsonObject.getJSONArray("items");
for(int i=0;i<itemarray.length;i++)
{
int i = Integer.ParseInt(itemarray.get(i));
Log.i("Value is:::",""+i);
}
Here you can directly access the data in json array.
JSONArray itemArray = jsonObject.getJSONArray("items");
for(int i=0;i<itemarray.length;i++)
{
int i = Integer.ParseInt(itemarray.get(i));
Log.i("Value is:::",""+i);
}