toon and gotoon
These are ecosystem siblings: TOON is a language-agnostic serialization specification with a TypeScript reference implementation, while gotoon is an independent Go implementation of the same TOON 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 gotoon
alpkeskin/gotoon
Token-Oriented Object Notation for Go – JSON for LLMs at half the token cost
When working with Large Language Models (LLMs) and structured data in Go applications, this tool helps reduce the cost and improve efficiency. It converts your existing Go data structures, like maps or structs, into a special 'Token-Oriented Object Notation' (TOON) format. This results in data that uses significantly fewer tokens, making your interactions with LLMs cheaper and faster. Developers building LLM-powered Go applications would find this useful.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work