I am getting the below json return from wiki:
{
"query": {
"pages": {
"1514": {
"pageid": 1514,
"ns": 0,
"title": "exampletitle",
"extract": "Example extract"
}
}
}
}
How can I access the "extract" value from this json? I will not know the page id (1514) and can't simply do a json.query.pages.1514.extract;
(anyway .1514 will not work)
Thank you!