Conformance Examples 0.1.0 — Render: parent-pointer¶
parent-pointer-basic¶
{{ ../key }} inside a with block resolves against the parent context (one level up the stack).
Template
Context
Output
parent-pointer-nested-path¶
A multi-segment RFC 6901 pointer after ../ resolves at the parent level.
Template
Context
Output
parent-pointer-two-levels-up¶
../../key ascends two stack levels, reaching the root context from inside two nested with blocks.
Template
Context
Output
parent-pointer-three-levels-up¶
../../../key ascends three stack levels, reaching the root from inside three nested with blocks.
Template
Context
Output
parent-pointer-intermediate-ancestor¶
../key from inside a doubly-nested with block resolves against the intermediate ancestor, not the root.
Template
Context
Output
parent-pointer-missing-key-returns-null¶
A parent pointer to a non-existent key returns null, which renders as the literal 'null'.
Template
Context
Output
Source fixture: render/parent-pointer.json