[ {
"question_id": 13,
"creation_date": 10,
"name": " certain degrees",
"tags": [
"android",
"sensor"
],
.....
...}
]
Here is the api I want to get the tags array ,the tag array contains only index and value,i want to get the array using array object and finally store in array list, i have tried but fail to get the datas..could anybody help me to solve this problem.
tagarray = jsontagobj.getJSONArray("tags");
for(int j=0;j<tagarray.length();j++){
tagobject = tagarray.getJSONObject(j);
if(tagobject!=null){
...// what to add to get the index with value////
tagname.add(.....);
}
}