toon and toon-crystal
These are ecosystem siblings where the TypeScript reference implementation provides the official specification and tooling while the Crystal version is an alternative language binding for the same serialization format standard.
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-crystal
mamantoha/toon-crystal
Crystal implementation of the Token-Oriented Object Notation(TOON) serialization format
TOON (Token-Oriented Object Notation) is a compact, human-readable format for sending structured information to Large Language Models (LLMs) while using fewer tokens. It takes your existing data (like lists, tables, or nested objects) and converts it into a streamlined text format that LLMs can efficiently process. This is for developers working with Crystal who need to prepare data for LLM inputs.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work