Gratis værktøj til at validere og udtrække det matchende stykke JSON-data mod inputudtrykket. JSONPath-syntaks skal gives i formatet $.
Thanks for your feedback
Vil du finde hovedårsagen til ydeevneproblemet i din applikation? Brug Site24x7 APM Insight.
Tjek oppetid fra 130 globale lokationer
Overvågning af maillevering.
Overvåg din SMTP-server.
POP/IMAP serverovervågning.
AI-drevne alarmer
Microsoft Exchange serverovervågning.
Fejlfind problemer i forbindelse med mailservere.
Forstå eksterne afhængigheder
Overvåg tilpassede komponenter og målinger
Following are few example jsonpath expressions and results for the above sample json data
JSONPath Expression | Description | Result |
---|---|---|
$ | Select the root element | |
$.address.city | Select the value of 'city' element which is the direct children of 'address' element | |
$..type | Select the value of all the 'type' elements in the input json | |
$.address.length() | Select the length of the 'address' element | |
$..* | Select all the elements and its value | |
$.phoneNumbers[1] | Select the 2nd value from 'phoneNumbers' array | |
$.phoneNumbers[?(@.number)] | Select the 'phoneNumbers' element if it have 'number' element within it |