Skip to main content

Crate toonconv

Crate toonconv 

Source
Expand description

TOON (Token-Oriented Object Notation) Converter

A Rust CLI tool for converting JSON data to TOON format with support for various input sources and formatting options.

Re-exports§

pub use conversion::convert_json_to_toon;
pub use conversion::ConversionConfig;
pub use conversion::ConversionResult;
pub use conversion::ToonData;
pub use error::ConversionError;
pub use error::ConversionErrorKind;
pub use error::ParseError;
pub use formatter::ToonFormatter;
pub use parser::JsonSource;

Modules§

cli
Command-line interface module
conversion
JSON to TOON conversion module
error
Error types and handling infrastructure for JSON to TOON conversion
formatter
TOON formatting module
parser
JSON parsing and validation module
validation
TOON validation module

Functions§

convert_json
Convert JSON data to TOON format with default configuration
convert_json_with_config
Convert JSON data to TOON format with custom configuration