JTON: A Token-Efficient JSON Superset with Zen Grid Tabular Encoding for Large Language Models
Gowthamkumar Nandakishore

TL;DR
JTON introduces a token-efficient JSON extension with Zen Grid encoding, significantly reducing token overhead for structured data in LLMs while maintaining JSON compatibility and improving comprehension accuracy.
Contribution
The paper proposes JTON with Zen Grid encoding, a novel JSON superset that reduces token redundancy and enhances LLM processing efficiency across multiple domains.
Findings
Token counts reduced by 15-60% across domains
Net +0.3 percentage point accuracy gain in comprehension tests
100% syntactic validity in generation tests with 12 LLMs
Abstract
When LLMs process structured data, the serialization format directly affects cost and context utilization. Standard JSON wastes tokens repeating key names in every row of a tabular array--overhead that scales linearly with row count. This paper presents JTON (JSON Tabular Object Notation), a strict JSON superset whose main idea, Zen Grid, factors column headers into a single row and encodes values with semicolons, preserving JSON's type system while cutting redundancy. Across seven real-world domains, Zen Grid reduces token counts by 15-60% versus JSON compact (28.5% average; 32% with bare_strings). Comprehension tests on 10 LLMs show a net +0.3 pp accuracy gain over JSON: four models improve, three hold steady, and three dip slightly. Generation tests on 12 LLMs yield 100% syntactic validity in both few-shot and zero-shot settings. A Rust/PyO3 reference implementation adds…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
