Expand description
Shared format alias and JSON shape routing for the powerio crate.
It maps format name aliases with no parsing at all, and classifies JSON content by deserializing a typed header instead of materializing the whole document into a generic value tree.
Enums§
- Detection
- A classification result that can be known, absent, or unsafe to choose.
- Distribution
Format - Domain
- Json
Class - Top level classification of bare JSON text: a PowerIO IR document or a case document with its format detection. One header read answers every question instead of requiring a full document parse per question.
- Source
Format - Transmission
Format
Constants§
- JSON_
CLASSES - The closed set of classification families, in the one spelling every
surface uses: the Rust
JsonClass, the Cpio_classify_strlabel before its optional:<format>tail, the Pythonclassify_json_textstatus, and the Julia family symbol.
Functions§
- classify_
format_ name - Resolve a source format name or common alias.
- classify_
json_ bytes - Classify JSON bytes without performing lossy text replacement.
- classify_
json_ text - Classify a JSON document: a PowerIO IR module or a case document across the transmission and distribution domains.
- parse_
distribution_ format - parse_
transmission_ format