toon and toon-rust
These are ecosystem siblings where the TypeScript implementation serves as the reference implementation and primary distribution channel, while the Rust implementation provides an alternative language binding for the same TOON serialization format specification.
About toon
toon-format/toon
🎒 Token-Oriented Object Notation (TOON) – Compact, human-readable, schema-aware JSON for LLM prompts. Spec, benchmarks, TypeScript SDK.
TOON helps developers working with Large Language Models (LLMs) by providing a more compact and readable way to format structured data inputs. It takes existing JSON data and translates it into a token-efficient format that LLMs can process reliably, reducing both cost and potential errors. This is primarily useful for AI/ML engineers and data scientists preparing data for LLM prompts.
About toon-rust
dedsecrattle/toon-rust
֎ Token-Oriented Object Notation (TOON) - Rust implementation
This tool helps developers reduce the 'token' count in data sent to Large Language Models (LLMs) by converting standard JSON data into a more compact format called TOON. It takes JSON or any data structure and outputs a TOON string, which can then be fed to an LLM more efficiently. Developers building applications that heavily interact with LLMs, especially those dealing with detailed data prompts, would find this useful.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work