Hi,
I have this JSON output
{
"batchcomplete": "",
"query": {
"pages": {
"222899": {
"pageid": 222899,
"ns": 0,
"title": "Juniperus oxycedrus",
"extract": "Il ginepro rosso (Juniperus oxycedrus L.) è una pianta a portamento arbustivo, presente in Italia, appartenente alla famiglia delle Cupressaceae.\nÈ una specie caratteristica della macchia mediterranea.\n\n"
}
}
}
}
I would like to extract the "extract" value ("Il ginepro rosso (Juniperus oxycedrus L.) è una pianta a ...."), but I would like to have a generic way to do it, because I'm able to do it only specifing the id (
value.parseJson().query.pages["222899"].extract).
I need something like
value.parseJson().query.pages[].extract for all the records of my dataset, but this is a wrong formula.
Thank you