Expand description
The schema-aware decode seam (issues #11/#15): wire key → type name → served schema → named-field JSON, with the honest fallbacks a generic tool owes its user.
SchemaStore caches each producer’s served describe reply (RFC 08
§7) and fetches on first miss through the disciplined fan-in
(crate::query::fleet_get). decode_sample is the whole pipeline in
one call; encoding resolution is sample > registry > sniff and the
sniff never goes away.
Structs§
- Schema
Store - Per-producer schema sets, fetched lazily and cached for the process.
Enums§
- Rendering
- How a rendered payload was produced — a tool surfaces this honestly instead of letting decoded and sniffed output look alike.
Functions§
- decode_
sample - The whole decode pipeline for one sample: refine the key against the slices, resolve the schema through the store, decode — or fall back structurally, tagged with whatever we did learn.
- resolve_
encoding - Resolve the wire encoding: sample
Encoding> registryencoding> sniff (RFC 08 §7). - structural
- Structural fallback rendering — what the wire honestly says when no schema resolves.