Visual RFC.
ALL RFCs / RFC 6901
Read the RFC ↗
RFC 6901 / JSON POINTER

Start at the root

01

An empty pointer selects the whole document. Each slash-prefixed token then selects one child value.

RFC 6901 · § 4EXAMPLE
3 / 3
Start at the rootThe empty pointer selects the JSON root. Adding profile selects its object; adding name then selects the string Ada. The empty pointer is distinct from one empty token.A path begins at the rootWorked example: {"profile":{"name":"Ada"}}Pointer: "/profile/name"Rootprofileprofile objectname"Ada"Empty string ≠ / (one empty-name token)Two tokens identify one nested value
03
Continue from the selected object.

The next token is name; its value is the string Ada in this example.

Source for this drawing: RFC 6901 · Read RFC section 4 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Terms in this drawing
Root value
The whole JSON document before any tokens are evaluated.
Reference token
One name or index following a slash in a pointer.
Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Follow tokens one at a time from the root value.

  • A JSON Pointer is a Unicode string of zero or more slash-prefixed reference tokens. The empty string selects the entire document; / contains one empty token and selects an object member named with the empty string, if it exists.
  • For an object, a decoded token selects a member with exactly the same name. No Unicode normalization is performed. If that referenced name is not unique, the referenced member is undefined and evaluation fails.
  • Each token is evaluated against the value selected by the previous token. Invalid syntax or a missing value is an error; absent an application-defined error action, evaluation terminates. Applications SHOULD specify the impact and handling of errors.
DETAILS

The example document is {"profile":{"name":"Ada"}}. Quotation marks around displayed pointers show string boundaries; they are not part of the pointer value. A pointer identifies a value; it does not itself modify it, validate a schema, or grant access.

Read the RFC section ↗

All chapters in RFC 6901

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗