Two ways to get the JSONPath of a value
A path is the address of one value inside a JSON document. You usually need it for code, a query or a bug report, and working it out by hand in a big file is where mistakes creep in.
- Search for the value. One box searches every value at any depth. Each match shows its field name, its value and, underneath, its full path. Press Enter or click to jump to it.
- Browse the tree. The Raw JSON view opens the top level and folds the rest. Hover any node and click "copy path". Long lists load a hundred at a time.
- Read the path.
$is the root,.namea key,[3]the fourth item of a list. A key that is not a plain identifier, like one with a space or a dash, is written["my key"].