{"category":"data","endpoint":"https://setget.net/v1/tools/jsonpath-query","examples":[{"input":{"path":"$.items[*].name","text":"{\"items\":[{\"name\":\"a\",\"n\":1},{\"name\":\"b\",\"n\":2}]}"},"output":{"count":2,"matches":["a","b"]}},{"input":{"path":"$..id","text":"{\"a\":{\"id\":1,\"b\":{\"id\":2}}}"},"output":{"count":2,"matches":[1,2]},"title":"Recursive descent"}],"input_schema":{"additionalProperties":false,"properties":{"path":{"description":"JSONPath expression starting with $.","examples":["$.items[*].name"],"type":"string"},"text":{"description":"The JSON to search.","examples":["{\"items\":[{\"name\":\"a\",\"n\":1},{\"name\":\"b\",\"n\":2}]}"],"type":"string"}},"required":["text","path"],"type":"object"},"keywords":["jsonpath","json","query","extract","select","filter","jq"],"related":["json-flatten","json-format"],"slug":"jsonpath-query","summary":"Pull values out of JSON with a JSONPath expression such as $.items[*].name.","tier":"inline","title":"JSONPath query","url":"https://setget.net/tools/jsonpath-query"}
