I've got JSON like this:
{
"245": {
"data": {
"userData": {
"id": "61",
"image": "http://example.com",
"name": "John Smith",
"friends": [
{
"invited": "67"
},
{
"invited": "62"
},
{
"invited": "65"
},
{
"invited": "66"
}
],
"operator": true
}
}
}
}
and I need to get "id" value from it. The first number ("245") is always different.