JSON Pointer cheat sheet

Everything a JSON Pointer can express. Press ▶ to run one.

The document the examples run on
{
  "store": { "book": [ { "title": "Moby Dick" }, { "title": "Ulysses" } ] },
  "a/b": 1,
  "m~n": 2
}
QueryWhat it doesRun it
/storean object memberTry it
/store/bookan arrayTry it
/store/book/0an array element (zero-based)Try it
/store/book/1/titlekeep walking downTry it
/a~1bthe key a/b (~1 is a slash)Try it
/m~0nthe key m~n (~0 is a tilde)Try it

All JSON Pointer lessons

About jsonquery

Query, format and learn JSON with jq, JSONPath, JMESPath and JSON Pointer. It is the engine of the desktop app, run in your browser.

Engine
The desktop app’s, compiled to WebAssembly
Licence
MIT (the engine and the app)
Source
GitHub
Contact
The contact form (private)
Public issues
GitHub
Legal
Privacy policy

Known limitations: a file over 10 MB opens read-only and one over 512 MB does not open here; the desktop app has no such limit.