I have the following JSON data:
{
"pages": {
"22989": {
"title": "Paris",
"links": [{
"ns": 0,
"title": "11th arrondissement of Paris"
}]
}
}
}
How do I access the string “22989”, inside “pages”? (I want the name of the variable, not it’s value.)
1 Answer