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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -