This is my JSON data:
{
"alldata":[
{
"college1":{
"data":[
{
"id":"1",
"name":"nithin",
"location":"alkd",
"time":"2016-06-24 12:02:28"
},
{
"id":"2",
"name":"xxx",
"location":"sdsdvxc",
"time":"2016-06-21 12:49:38"
},
{
"id":"3",
"name":"xcxc",
"location":"xzxzx",
"time":"2016-06-21 12:59:49"
},
{
"id":"4",
"name":"ZA",
"location":"BU",
"time":"2016-06-23 13:04:25"
},
{
"id":"5",
"name":"df",
"location":"ok",
"time":"2016-06-20{" id":"12",
"name":"vbnb",
"location":"sf",
"time":"2016-06-23 11:08:47"
},
{
"id":"13",
"name":"az",
"location":"vgfjghgbhjj",
"time":"2016-06-24 12:13:44"
}
],
"last_date":"2016-06-24 12:13:44"
}
},
{
"product1":{
"data":[
{
"id":"1",
"productname":"soapq",
"quantity":"2",
"time":"2016-06-23 13:12:27"
},
{
"id":"2",
"productname":"VCVC",
"quantity":"3",
"time":"2016-06-23 13:12:13"
},
{
"id":"3",
"productname":"fym",
"quantity":"3",
"time":"2016-06-23 13:12:53"
}
],
"last_date":"2016-06-23 13:12:53"
}
}
]
}
I want to get these data in to arraylist in Android.