Expand description
JSON value semantics shared by generated types. Missing fields and explicit null values have different meanings for document updates.
Structs§
- Integer
- An integer exactly representable by the JavaScript host. Wider integers must not be silently rounded when sent through JSON.
- Null
- JSON null without an optional-field interpretation.
- Number
- A finite JSON number. Non-finite floats cannot silently serialize as null.
Enums§
- Never
- The impossible value described by a false schema.
- Nullable
- A present JSON value that may explicitly be null. Required fields also use the generated required-field deserializer so absence cannot become null.
- Presence
- An optional field.
Missingomits its object key;Presentpreserves its value, including null when the field’s value type permits null.
Traits§
- Shape
- Shape matching is deliberately narrower than host-side JSON Schema validation: ranges, patterns, conditional presence and oneOf exclusivity remain enforced by the SuperDoc host.
Functions§
- required
- Deserialize a field that must be present, even when
Titself accepts null.