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.
Use this if you are a Crystal developer building applications that need to pass structured data to a Large Language Model and want to minimize token usage.
Not ideal if you need a serialization format for general data exchange between systems or for human-readable output from an LLM.
Stars
9
Forks
—
Language
Crystal
License
MIT
Category
Last pushed
Mar 06, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mamantoha/toon-crystal"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
toon-format/toon
🎒 Token-Oriented Object Notation (TOON) – Compact, human-readable, schema-aware JSON for LLM...
dweve-ai/hedl
Token-efficient data serialization for LLM/AI. 50% fewer tokens than JSON, 93% better...
tonl-dev/tonl
TONL (Token-Optimized Notation Language)
toon-format/toon-java
☕ Community-driven Java implementation of TOON
ISON-format/ison
🔥 🔥 Alternative to JSON 🔥 🔥