I am developing a android application which fetches some data from the server. I use JSON for that. I have to parse a JSON response which has a structure like below:
{
"dataset1":["1", "2", "3", "4"],
"dataset2":["1", "2", "3", "4"],
"dataset3":["1", "2", "3", "4"],
"dataset4":["1", "2", "3", "4"]
}
I tried searching the internet but couldn't get an idea how to parse a response like this. Can anyone please show me a way to do this?