In my JSON object I am trying to access the "name" field within "pos"
I have tried obj.tokens.pos.parent; obj[0].pos.parent;
How can I access the parent field of this object?
the object looks like
[
{
"tokens": [
{
"text": "call",
"normalised": "call",
"end": true,
"start": true,
"pos": {
"name": "infinitive verb",
"example": "eat",
"parent": "verb",
"tense": "present",
"tag": "VBP"
},
"pos_reason": "lexicon",
"analysis": {
"word": "call",
"next": null,
"last": null,
"form": "infinitive",
"tense": "present",
"which": {
"name": "infinitive verb",
"example": "eat",
"parent": "verb",
"tense": "present",
"tag": "VBP"
},
"negative": false
}
}
]
}
]