I have a small problem parsing json response because it constantly keeps on getting updated whenever i send a request.All the examples I have seen makes us provide the tag n
I actually figured it out with a small help from one of my friend. Needed the use of Iterator object. Here is the snippet of code
JSONObject channels = jobj.getJSONObject(TAG_CHANNELS);
Iterator> keys=channels.keys();
while( keys.hasNext() )
{
String key = (String)keys.next();
Log.e("Key", key);
if( channels.get(key) instanceof JSONArray ){
jsontags.add(key);
}
}