Crate toonify_core

Crate toonify_core 

Source

Structs§

DecoderOptions
EncoderOptions

Enums§

Delimiter
Sets the delimiter used for document-level quoting decisions and the default delimiter emitted by array headers.
KeyFoldingMode
PathExpansionMode
SourceFormat
TokenModel
ToonifyError

Functions§

convert_reader
Convert readable input (JSON/YAML/XML/CSV) into TOON.
convert_str
Convert the provided string in the given SourceFormat into TOON.
count_tokens
decode_reader
Decode TOON from any reader.
decode_str
Decode TOON text into a serde_json::Value.
encode_value
load_from_reader
load_from_str
validate_reader
Validate TOON data coming from a reader.
validate_str
Validate TOON text. Returns Ok(()) if the document is structurally sound.