Skip to main content

Module value

Module value 

Source
Expand description

Exact values and their types (spec 002, 3.4 and 3.7.2), strict decoding of snapshot values, and the worst-case canonical size used by budgets.

Structs§

Absence
Why a value is absent.
JoinEntry
One join_keyed@1 result entry; its id is the left item’s id.

Enums§

JoinMatch
Ty
The static type of an exact value.
Value
An exact value.

Functions§

decode
Decode a snapshot JSON value strictly against its declared type: no coercion, no default, every record field required, no extra field.
decode_v2
Decode a plan 3 snapshot value strictly against its declared version 2 type (spec 032, 3.4): a nullable field accepts null or a missing key, stored as null; a map is a JSON object within its bounds; a record that fails its presence predicate is absent. Key existence is never presence.