Conformance Examples 0.1.0 — Render: interpolation-rendering¶
string-primitive-unquoted¶
{{ /name }} emits the string value without surrounding JSON quotes.
Template
Context
Output
integer-primitive¶
Integer primitives render as their JSON form (no quotes).
Template
Context
Output
decimal-primitive¶
Decimal numbers render with their JSON form.
Template
Context
Output
boolean-true¶
true renders as the literal token "true".
Template
Context
Output
boolean-false¶
false renders as the literal token "false".
Template
Context
Output
json-null-renders-null¶
An explicit JSON null renders as the literal token "null".
Template
Context
Output
missing-key-renders-null¶
A pointer that resolves to no element renders as the literal token "null".
Template
Context
Output
nested-pointer¶
JSON Pointer normal notation reaches into nested objects.
Template
Context
Output
array-index¶
JSON Pointer can index arrays.
Template
Context
Output
object-renders-as-json¶
A non-leaf JSON object renders as its compact JSON form (unescaped, as it is not a string primitive). Template-author bug, but defined behaviour.
Template
Context
Output
array-renders-as-json¶
A non-leaf JSON array renders as its compact JSON form (unescaped, as it is not a string primitive).
Template
Context
Output
unescaped-string-primitive¶
{{{ /name }}} emits the string value without HTML escaping; unlike {{ /name }}, HTML-special characters are not escaped.
Template
Context
Output
trim-variant-still-renders¶
Trim-delimiter variants with a plain value resolve the same way as non-trim variants when the value has no surrounding whitespace.
Template
Context
Output
string-with-quote-content-only¶
Embedded characters in a string primitive emit verbatim (no JSON escaping).
Template
Context
Output
single-slash-pointer-is-empty-key¶
/ parses to a JsonPointer with one empty segment — i.e. the key whose name is the empty string.
Template
Context
Output
rfc6901-escape-slash¶
RFC 6901: ~1 inside a segment decodes to / — addresses the key a/b.
Template
Context
Output
rfc6901-escape-tilde¶
RFC 6901: ~0 inside a segment decodes to ~ — addresses the key a~b.
Template
Context
Output
rfc6901-escape-tilde-then-one-is-literal-tilde-one¶
RFC 6901 ordering: ~01 decodes as ~1 literally (tilde-substitution is applied last, not recursively).
Template
Context
Output
rfc6901-escape-only-tilde-key¶
A segment of just ~0 decodes to the bare key ~.
Template
Context
Output
rfc6901-escape-only-slash-key¶
A segment of just ~1 decodes to the bare key /.
Template
Context
Output
Source fixture: render/interpolation-rendering.json