Expand description
Registry-driven typed decoding — the engine’s Value layer.
ron::Value cannot represent enum variants (a bare Weekly degrades to
Unit), so the engine decodes records with seeded deserialization
instead: the registry’s FieldType drives which serde entry point each
field goes through, and deserialize_enum + deserialize_identifier
recover variant names — payload variants included. What the schema crate
gets from Rust’s derive, the engine gets from the registry.
Enums§
- Value
- A decoded field value, shaped by the registry.
Functions§
- decode
- Decode one record’s RON text against its kind. Unknown fields are skipped (the validator judges correctness; this is a reader). A field that fails its declared shape is an error — the caller records the file as unreadable.