toon and toon4s
TOON is the specification and primary TypeScript implementation, while toon4s is a JVM language binding that enables the same serialization format to be used in Java/Scala environments—making them ecosystem siblings that extend the same standard to different platforms.
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 toon4s
com-vitthalmirji/toon4s
toon4s: Token-Oriented Object Notation for JVM
This project helps developers working on JVM applications process data more efficiently and cost-effectively, particularly when integrating with Large Language Models (LLMs). It takes standard data (like JSON) and converts it into a highly compact 'Token-Oriented Object Notation' (TOON) format. This results in significantly lower token usage and costs for LLMs, while also providing robust, type-safe data handling for Scala developers.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work