I have the following array response from a server to an android app.
[
{"1":
[{"name":"IEEE Meeting"},{"date":"2012-04-24 10:30:00"},{"Room":"ZACH102"},{"descr":"Final Meeting"},{"D":0.0057}]},
{"2":
[{"name":"Senior Design Demo"},{"date":"2012-04-24 16:30:00"},{"Room":"ZACH111A"},{"descr":"Demo"},{"D":0.019}]}
]
I perform a conversion to a JSONArray after receiving the response.
arr = new JSONArray(sb.toString());
How would I go about extracting the individual elements of name, date, room and so on?
So basically, its of this order
Array of objects 1, 2
– Each object 1, 2 has an array of different objects name, date, etc.