Sample
{
"store": {
"name": "Book Store",
"books": [
{ "title": "JSON Guide", "price": 29.9, "category": "tech" },
{ "title": "Web Dev", "price": 39.9, "category": "tech" },
{ "title": "Cooking", "price": 19.9, "category": "life" }
]
}
}
Core syntax
| Expression | Meaning |
|---|---|
$ | Root |
$.store.name | Dot access |
$.store.books[0] | First array item |
$.store.books[*].title | All titles |
Filters and descent
$.store.books[0:2] $.store.books[?(@.price < 30)] $..title
.. walks any depth. Useful when the path is unknown. Filters use @ for the current item.
Multi-field compare in HiJSON
$.store.books[*].{title, price, category}
That builds a table, one row per book. Paste the expression in the search box after you parse.