Expand description
TOON Format Codec
This module implements the TOON (Token-Optimized Object Notation) format
specification using the official toon-format crate.
§TOON Format Grammar (Simplified)
document ::= top_level_value
value ::= simple_object | array | primitive
simple_object::= (key ":" value newline)+
array ::= header newline item*
header ::= name "[" count "]" ( "{" fields "}" )? ":"
item ::= "-" value newline | row newlineStructs§
- Soch
DbBinary Codec - TOON binary codec (Renamed from SochBinaryCodec to SochDbBinaryCodec)
- Soch
Document - TOON document
- Soch
Text Encoder - TOON text format encoder (wraps toon-format crate)
- Soch
Text Parser - TOON text format decoder/parser (wraps toon-format crate)
- Soch
Token Counter - Token counter (dummy implementation for now)
Enums§
- Soch
Parse Error - Parse error types
- Soch
Type Tag - TOON value type tags for binary encoding
Constants§
- TOON_
MAGIC - TOON binary format magic bytes