JSONPath cheat sheet for everyday payloads
Navigate properties, arrays, wildcards, recursive keys, and equality filters.
5 minute read · Updated August 2026Run a JSONPath query →Start at the root
The dollar sign represents the root document. Dot notation selects a property and brackets select an array position or quoted key.
$.customer.email
$.orders[0]
$['unusual-key']Use wildcards for collections
A wildcard selects every child at one level. It is useful when the array position is irrelevant.
$.orders[*].statusFilter before projecting
Equality filters narrow an array of objects, after which another property can be selected from each match.
$.orders[?(@.status == "failed")].idRecursive descent is powerful and broad
Two dots search descendants for the named key. It can be convenient for exploration, but a specific path is easier to reason about in reusable automation.
$..requestId