JSONPath Tester
Example
Input:
{"name": "Ali", "tags": ["dev", "ops"]}Output:
"Ali"
About this converter
JSONPath is the SQL of JSON: a small query language ($ is the root, . walks children, [n] indexes arrays, [*] expands them, .. recurses) used by Kubernetes jsonpath output, API testing tools, log processors and config templating. This tester implements the core dialect — child by name or bracket, array indexes, wildcards over arrays and objects, and recursive descent ($..key finds that key at any depth). Filter expressions ([?(...)]) are the one mainstream feature outside its subset; if your path needs a filter, the result here will tell you nothing matched rather than fake an answer.
Frequently Asked Questions
What does $..name do?
Recursive descent: it collects the value of key "name" at every depth in the document and returns them as an array.
Why did my path return nothing?
Either the key/index does not exist along that path, or the path uses a filter expression this tester does not implement — the error message says which.