JSON Pointer Evaluator
Resolve a JSON Pointer and see the value it names, the line it sits on, and exactly where the pointer stopped matching when it does not resolve.
Input
Syntax colouring is off for this document because recolouring something this large on every keystroke would slow typing down. Every tool still works normally.
Value
The value appears here.
Runs entirely in your browser. Nothing you paste is uploaded, and you can confirm that in your browser Network tab.
About this tool
JSON Pointer is a small specification, four pages long, and this implements all of it: the empty pointer for the whole document, the escapes ~0 and ~1 for keys containing a tilde or a slash, the strict array index rules that reject a leading zero, and the URI fragment form that starts with a hash. The part worth having is what happens when a pointer does not resolve. Instead of a bare not found, you are told how far it got, what was there instead, and which keys the object actually has, because a pointer that fails is almost always off by one key.
How to use
- Paste your JSON into the editor, or load the sample.
- Type a pointer, or press one of the examples. An empty pointer means the whole document.
- Read the value on the right. If it does not resolve, the message says how far the pointer got before it stopped.