Skip to main content

Module encode

Module encode 

Source
Expand description

The canonical encoder (OBJECT_MODEL.md §1).

Encoding is deterministic and validates everything: field ordering, tag ranges, required fields, types, enum values, path rules, and limits.

Functions§

encode_object
Encodes an object into its canonical envelope bytes.
type_name
A human-readable type name for error messages.