The numbers, case by case.
200 payloads, ten formats, one tokenizer at a time. Measured 2026-11-27 by the suite in the repository. Nothing typed by hand.
Totals by format
Tokens: cl100k (GPT-4) or o200k (GPT-4o, GPT-5 family). Gzip: deflate, default level. Round trip: decoded value deep-equals the input, key order included. YAML is written and read with Jackson's YAML module; XML is encoded only, the server has no XML reader.
Every production case
Round trips under torture
140 extra cases built to break formats: 50-digit decimals, special floats, huge integers, ragged rows, delimiter storms, right-to-left overrides.
Where TOON changes data
Where Avro changes data
Where YAML changes data
Speed on a 2,000-row table
Java, median of 3 runs. Lower is faster.
Encode
Decode
What models get right
Recorded runs on real model APIs, re-scored offline.
How it was measured
- Cases:
ComparisonCases.java, 60 production payloads and 140 correctness cases. - Encoders: JDogo 2.1, TOON spec v4.4 (JToon 2.0.9, the official Java implementation), Avro 1.12 with an inferred schema, Jackson for JSON and YAML (jackson-dataformat-yaml 2.16), a small writer for XML.
- Tokens: jtokkit, the Java port of OpenAI's tiktoken.
- Build:
scripts/build_studio_evidence.pyruns every case on a live server and writes this page's data file, evidence.json. - Model runs: paid OpenRouter runs, recorded and re-scored by the same script; each case's result is listed on this page.