Summary
- RFC 9535 standardizes how a JSONPath query selects a nodelist from one JSON value. Every selected node gets exactly one Normalized Path inside that value.
- That path is a coordinate, not a durable identity. Insert an item ahead of
$['approvals'][3]and the same path quietly points at a different approval tomorrow. - An empty result, a JSON
null, a duplicate selection and an out-of-range index are four distinct states. A decision system must keep the input, query, implementation, result and policy that gave the match its meaning.
At 09:00, $['approvals'][3] points at the fourth approval in a JSON response. At 09:05, someone inserts an older approval at the front of the array. The path is still immaculate. It still selects exactly one node. It now points at a different person's sign-off.
Nothing in that sequence violates RFC 9535. The mistake is human: treating a precise coordinate as if it were the enduring identity of whatever happens to sit there. A street address is exact. It is not a passport.
Published on the IETF Standards Track in February 2024, RFC 9535 supplies the common semantics the once-fragmented JSONPath ecosystem never had. A query runs against one JSON value—the query argument—and produces a nodelist of zero or more nodes. A node is a value plus its location in that particular input. The standard makes the selection layer portable. It does not turn the input into an authenticated register, or the selected node into a business fact.
One value, one canonical route to a node
A Normalized Path uses canonical bracket notation and escaping to identify exactly one node. For any node in a given value, there is exactly one such path. That is superb for test fixtures, result comparison, post-processing and explicit duplicate removal. It lets an operator state, without hand-waving, exactly which location an implementation selected.
The qualifier "in a particular value" carries the whole governance burden. A Normalized Path embeds no document digest, no version, no source, no schema, no stable object identifier. Even a singular query can hinge on the concrete input: a negative array index may select one node, while the Normalized Path records the resolved non-negative position. Change the array length and the apparent identity slides.
JSON Pointer, RFC 6901, is another useful location mechanism, and RFC 9535 explains how a Normalized Path converts to a pointer. Conversion does not create persistence. Both notations need the same frozen structure before they can refer to the same logical thing.
"Nothing selected" is not one diagnosis
RFC 9535 treats an empty nodelist as a valid result. A valid segment asking for an out-of-range array index simply selects fewer nodes; later segments then continue from an empty set. That is operationally different from a malformed query, a timeout, a resource-limit failure or a parser rejection.
It is also different from JSON null. Null is a present value. A missing member produces no node at all. If an access rule collapses both cases into a generic false, the query engine can be perfectly correct while the policy becomes wrong.
Duplicate selections stay in the nodelist. count() counts nodes, not unique values, unique paths or unique business objects. And where the semantics permit more than one ordering, successive evaluations may return different permissible orders. "First match wins" is therefore an application rule, not a fact JSONPath hands you—unless the surrounding contract independently defines the order.
Interoperability narrows mechanics, not meaning
RFC 8259 defines JSON and warns that duplicate object member names reduce interoperability. I-JSON, RFC 7493, narrows some of that unpredictability. RFC 9485 gives match() and search() a portable regular-expression profile. The live IANA JSONPath registry records extension functions, while the registered application/jsonpath media type gives query documents a common label.
These are valuable agreements. They make it likelier that two conforming systems select the same nodes from a well-behaved input. They do not say that an owner field names the legal owner, that a risk score is fresh, that a document came from an authorized source, or that a selected flag permits an irreversible action.
A concrete neighbouring standard shows the gap. RFC 9537 uses JSONPath to locate redacted fields in an RDAP response. The path can accurately locate the redaction assertion in that response. It cannot disclose the hidden value, establish the policy that authorized redaction, or prove what an earlier response contained.
The security boundary starts before the dollar sign
RFC 9535 warns against passing query fragments to a host-language eval, and against unsafe interpolation of member names, indexes or comparison values. Crafted inputs can also drive naïve recursive processing toward excessive CPU use or stack exhaustion. Correct syntax therefore needs bounded execution, validated variables, and an implementation that actually parses JSONPath rather than executing another language.
Encoding and data-model safeguards matter here. UTF-8, RFC 3629, and the implementation considerations referenced through CBOR, RFC 8949, help bound representation. But the decision chain is longer:
source bytes → parsed value → query → implementation and extensions → nodelist → application interpretation → decision
RFC 9535 disciplines the middle. A defensible receipt must bind the rest.
Preserve the receipt that makes a match useful
For a consequential use—access control, compliance, routing policy or incident triage—retain the source bytes or their cryptographic digest and provenance; the parser and duplicate-name policy; the exact query bytes and media type; interpolated variables before and after validation; implementation and version; enabled extension functions; timeout and resource limits; returned Normalized Paths and permitted values; post-query deduplication; any independent ordering rule; schema and policy version; and the actor, timestamp and outcome of the decision.
That record supports a bounded statement: implementation X evaluated query Q against input digest H and returned these locations under these limits. It does not support "this is the same record as yesterday" unless the schema supplies a stable ID and the evidence links that ID across versions.
Sources and limits
The primary publication record is available as HTML, plain text, the RFC Editor information page, the IETF Datatracker entry, its history and the errata search. Development history is visible in the IETF JSONPath working repository, and the independent JSONPath comparison project illustrates why a common standard was needed.
The analysis also uses RFCs 8259, 7493, 9485, 6901, 8949, 3629 and 9537, plus the IANA registry and media-type record.
The governance lens follows Heng Lu's essays on reality layers and symbolic power, minimum initial specification and running-code primacy. No named implementation, service, incident or exploit was examined. The article does not claim that RFC 9535 is defective, or that a particular deployment misuses it.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






