Class

Structured Value

Abstract marker class for key-value / list / scalar data. Subclassed by StructuredMap, StructuredList, StringScalar, and IntegerScalar. Used for Document.metadata and for any nested data inside it. Distinct from Block/Inline so frontmatter/TOML/JSON backends can walk metadata recursively without needing to understand narrative block types. As of 1.3.0 StructuredValue is an EscapeHintable: a value may carry its own `escapeHint` directly. This is what lets a scalar *inside a StructuredList* be serialized with a type hint — a list item has no enclosing StructuredEntry to carry the hint for it.

Subclass Of
Escape-Hintable

Referenced by

Range

Subclass Of