I have an api that returns the data with a structure similar to this:
{
"1": {
"url":"http://www.test.com",
"count":2
},
"3": {
"url":"http://www.test.com",
"count":12
},
"16": {
"url":"http://www.test.com",
"count":42
}
}
The names are the id. It changes from time to time, so I don't know the keys.
How do I serialize it then?