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
}| Query | What it does | Run it |
|---|---|---|
/store | an object member | Try it |
/store/book | an array | Try it |
/store/book/0 | an array element (zero-based) | Try it |
/store/book/1/title | keep walking down | Try it |
/a~1b | the key a/b (~1 is a slash) | Try it |
/m~0n | the key m~n (~0 is a tilde) | Try it |