Quantcast
Channel: Parse JSON Array without Key in Android - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Anand Saggam for Parse JSON Array without Key in Android

$
0
0

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);

}

Viewing all articles
Browse latest Browse all 4

Trending Articles