Supported syntax

ExpressionMeaningExample result
$.user.nameProperty access"Ada"
$.items[0]Array indexfirst element
$.items[*].idWildcard over arraylist of ids
$['key with space']Bracket propertyvalue of that key
$.a.b.cNested accessdeep value
$..idRecursive descent (limited)all id values

Filters (?(@.price < 10)), slices ([1:3]), and jq pipes are not supported. Use jq locally for those; this page is for quick path checks.

Why paths beat clicking through a tree

A JSON viewer shows structure but not the exact path expression your code needs. Testing the path here gives you the literal string to paste into a client library or a config, which avoids the usual trial-and-error in code.

  • Start at $ for the root.
  • Quote keys with spaces or dots: $['content-type'].
  • A wildcard returns an array; a concrete index returns a single value.