This is JSON response:
{
"0": {
"userId": "8888888888",
"Long": "77.28717",
"Lat": "28.63864",
"time": "14:14:47",
"date": "2020-12-19"
},
"1": {
"userId": "8888888888",
"Long": "77.28141",
"Lat": "28.63602",
"time": "14:10:05",
"date": "2020-12-19"
},
"2": {
"userId": "8888888888",
"Long": "77.28716",
"Lat": "28.63863",
"time": "14:09:40",
"date": "2020-12-19"
},
"status": "success"
}
This can help you. You have to try.
here is a link for create pojo class for retrofit response. create here your class.
here is example for your class.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.