I have a JSON object returned from API with the below format:
{
"responseStatus": "SUCCESS",
"responseDetails": {
"limit": 1000,
"offset": 0,
"size": 2,
"total": 2
},
"data": [
{
"tbl.col": "data"
},
{
"tbl.col": "data"
}
]
}
I need to map the above JSON object "data" to a class or to generic type list