From 3505f75bca501874658a73acce62fef2d1d27f09 Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Wed, 29 Oct 2025 19:28:59 +0100 Subject: [PATCH] docs: add clarification on TOON as a translation layer for LLM input --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8d23df1..d2b2063 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ TOON's sweet spot is **uniform arrays of objects** – multiple fields per row, same structure across items. It borrows YAML's indentation-based structure for nested objects and CSV's tabular format for uniform data rows, then optimizes both for token efficiency in LLM contexts. For deeply nested or non-uniform data, JSON may be more efficient. +> [!TIP] +> Think of TOON as a translation layer: use JSON programmatically, convert to TOON for LLM input. + ## Why TOON? AI is becoming cheaper and more accessible, but larger context windows allow for larger data inputs as well. **LLM tokens still cost money** – and standard JSON is verbose and token-expensive: