Expand description
totoon - Convert any data format to TOON (Token-Oriented Object Notation)
TOON is a compact data format that reduces token usage by 30-60% compared to JSON when interfacing with Large Language Models (LLMs).
Functionsยง
- json_
to_ toon - Convert JSON string to TOON format
- to_toon
- Convert a serde_json::Value to TOON format string
- to_
toon_ with_ indent - Convert a serde_json::Value to TOON format with custom indentation