The article introduces Token-Oriented Object Notation (TOON), a compact data format designed to reduce token usage when passing structured data to Large Language Models (LLMs). TOON is more efficient than traditional formats like JSON and XML, achieving up to 60% fewer tokens while maintaining readability and structure, particularly for uniform complex objects. It combines features from YAML and CSV to optimize data representation for AI applications.
data โ
llm โ
json โ