Here is my Json-String:
{
"batchcomplete":"",
"query":{
"pages":{
"104352":{
"pageid":104352,
"ns":0,
"title":"student"
}
}
}
}
I want to access tha first number, in this example "103452", not the on after pageid, although they always should be the same. I tried the following until know, but don´t get why it wont work.
JSONName.query.pages;
it always returns me Object object.
Object.entries,Object.keysorObject.valuesto iterate through an object