16:54
2026-07-12
dev.to
large-language-models
TOON: the JSON trick that cut my LLM prompt tokens by half
A developer created TOON, a compact data format that reduces LLM prompt tokens by 30-60% for repetitive JSON arrays by declaring keys once and listing values row by row. The format is designed for devβ¦