Ready
Input JSON
Characters: 0Size: 0 KB
JSONPath Expression
JSONPath Examples
$.store.book[0,1]Select both books by index
$.store.book[-1:]Select last book using slice
$..titleRecursively find all titles
$..bookRecursively find all book arrays
$.store.book[?(@.price >= 10)]Books priced ≥10
$.store.book[?(@.title == "Book 1")]Exact title match
$.store.book[?(@.price * 2 == 20)]Price math condition
$.store.book[?(@.title.length > 5)]Title length condition
$.store.book[*].{"name":title,"cost":price}Custom output format
$.*~Get all possible paths
$.store.book[?(@.price > 10)].titleFilter then project
$..book[0:2].titleSlice then project
Query Results
Characters: 0Size: 0 KB
JSONPath Syntax Guide
$- Root object (required).- Child operator (e.g..store)[n]- Array index (e.g.[0])[*]- Array wildcard (must follow with property)..- Recursive search (e.g...price)