jsonpath - JSON path: querying for the parent element -


i trying use jsonpath extract parent element based on rule/pattern match.

given json:

  {       "id 3": {         "synonyms": [           "nt"           "df"         ],         "phone number": "0000909",         "country": "deutschland",         "short id": 18       },       "id 8": {         "synonyms": [           "nn"           "po"         ],         "phone number": "29292909",         "country": "britan",         "short id": 648       } 

i trying id 8 answer when search pattern e.g. short id = 648 or when synonyms = po


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -