# Has anyone heard of TOON format? Looking for Julia implementation

**URL:** <https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908>\
**Category:** General Usage\
**Created:** [November 16, 2025, 9:46am UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908 "2025-11-16T09:46:03Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [November 16, 2025, 9:46am UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/1 "2025-11-16T09:46:03Z")

</div>

Hi everyone,

I recently came across [TOON (Token-Oriented Object Notation)](https://github.com/toon-format/toon), which is described as a data format designed to be more LLM-friendly than JSON. The format aims to reduce token usage while maintaining readability and type safety.

Some interesting features:

- Compact syntax that reduces LLM token consumption
- Built-in type annotations
- Object-oriented structure
- There’s an [interactive playground](https://www.curiouslychase.com/playground/format-tokenization-exploration?mode=preset&size=small-simple&structure=uniform-flat) to explore how it compares to JSON in terms of tokenization

There’s already a [Python implementation](https://github.com/toon-format/toon-python) available, which got me thinking about Julia.

**Has anyone:**

1. Heard of or worked with TOON format?
2. Started (or would be interested in) a Julia implementation?

Given Julia’s strengths in parsing and the growing interest in LLM applications, it seems like TOON could be a useful addition to the ecosystem. I’m curious if there’s any existing work in this direction or if others think this would be a valuable package to develop.

Would love to hear your thoughts!

---

<div class="post-metadata">

**Author:** ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Post date:** [November 16, 2025, 10:13am UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/2 "2025-11-16T10:13:02Z")

</div>

Just saw it in a forum unrelated to Julia yesterday. Has it been going viral in the past few days?

---

<div class="post-metadata">

**Author:** ![Ryan2](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@Ryan2](https://discourse.julialang.org/u/Ryan2)\
**Post date:** [November 16, 2025, 11:52am UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/3 "2025-11-16T11:52:11Z")

</div>

This post was temporarily hidden by the community for possibly being off-topic, unfocused, inappropriate, or spammy.

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [November 16, 2025, 5:27pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/4 "2025-11-16T17:27:43Z")

</div>

I saw this idea in this post [Case Study: Wie wir bei Finanzfluss mit einem neuen Datenformat ~50% an LLM-Kosten sparen. 🦛 KI-Modelle werden zugleich günstiger und leistungsfähiger. Das eröffnet immer neue Möglichkeiten und… | Johann Schopplich | 93 comments](https://www.linkedin.com/feed/update/urn:li:activity:7389343359892402176/) and some other posts on LinkedIn.

I’m currently implementing a Julia package (using Claude Code and Kiro.dev)

> **[GitHub - s-celles/TOON.jl: Token-Oriented Object Notation (TOON)...](https://github.com/s-celles/TOON.jl)**
>
> Token-Oriented Object Notation (TOON) encoder/decoder for Julia

Status is work in progress. Not yet registered. But quite good code coverage (with more than 2000 tests with their official [Spec test suite](https://github.com/toon-format/spec/tree/main/tests/fixtures))

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [November 16, 2025, 6:37pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/5 "2025-11-16T18:37:05Z")

</div>

> [@scelles](#):
>
> I’m currently implementing a Julia package (using Claude Code and Kiro.dev)  
> [GitHub - toon-format/ToonFormat.jl: 🔵 Community-driven Julia implementation of TOON](https://github.com/s-celles/TOON.jl). Status is work in progress. Not yet registered.

Just a heads-up to avoid frustration when you do feel ready to register it: The package name `TOON.jl` will probably not be able to make it into the General registry (too short/all-caps). I’d probably recommend writing out the acronym to `TokenOrientedObjectNotation.jl`. You should also be aware about the [guidelines for LLM usage](https://github.com/JuliaRegistries/General?tab=readme-ov-file#is-there-any-policy-regarding-the-use-of-llms-in-registered-packages) for registered packages.

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [November 16, 2025, 7:02pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/6 "2025-11-16T19:02:19Z")

</div>

There is JSON.jl and JSON3.jl, isn’t it?  
I didn’t know the AI slop term. Thanks for pointing to this in guidelines for LLM usage.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [November 16, 2025, 8:01pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/7 "2025-11-16T20:01:53Z")

</div>

There are lots of packages with short names in the General registry but the naming guidelines have evolved over time and old decisions don’t work as precedence for new packages.

That said, if TOON was as ubiquitous as JSON it would likely be accepted today but at this point there is no way to tell whether it will eventually overtake JSON or be all but forgotten in half a year.

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [November 16, 2025, 10:25pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/8 "2025-11-16T22:25:39Z")

</div>

> [@greatpet](#):
>
> Has it been going viral in the past few days?

yes and the joke is LLM bros have re-invented CSV xD

---

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [November 17, 2025, 10:00am UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/9 "2025-11-17T10:00:50Z")

</div>

Indeed, TOON is a meme on X/Twitter already. Incredibly, the vibe-coders have re-invented a (worse) version of CSV from first principles and made it viral on LinkedIn (the professional social network where no professional software developers exist to explain to them what they’ve done).

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [November 17, 2025, 8:05pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/10 "2025-11-17T20:05:21Z")

</div>

There is also TONL(Token-Optimized Notation Language)  
See [https://tonl.dev/](https://tonl.dev/)  
Repository [GitHub - tonl-dev/tonl: TONL (Token-Optimized Notation Language)](https://github.com/tonl-dev/tonl)

> **[TOON fails to reliably transform non-tabular, non-columnar nested JSON...](https://www.linkedin.com/posts/ersinkoc_toon-fails-to-reliably-transform-non-tabular-activity-7396130081477324801-SwPd/?utm_source=share&utm_medium=member_desktop&rcm=ACoAAACzlzkByl66DY5gxqEhYRXEVU7UETCFAVg)**
>
> TOON fails to reliably transform non-tabular, non-columnar nested JSON structures and often breaks data integrity in the process. By contrast, TONL provides a full-capacity schema- and type-aware data layer that can be used both as a compact...

---

<div class="post-metadata">

**Author:** ![sivark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sivark/32/960_2.png) [@sivark](https://discourse.julialang.org/u/sivark)\
**Post date:** [November 18, 2025, 1:54pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/11 "2025-11-18T13:54:04Z")

</div>

1. If you quickly want to build something in Julia using TOON, you could use the Python library with PyCall / PythonCall / etc. Can get up and running quickly, if your goal is to evaluate TOON.

2. To the extent that TOON works right now, it’s presumably a combination of models being comfortable with YAML and CSV. But in the long run, _the “correct” protocol to communicate with models is always a function of what they’ve been pretrained/finetuned to_. So, unless the major model players adopt it as a first-class protocol, TOON or whatever other protocol is unlikely to beget maximum performance. This is one of those cases where the innovation has to come _through the model providers_ and it’s not just a question of end-users adopting something based on vibes. (Just my two cents, YMMV)

3. If the main win of TOON is to avoid repeated field names by compressing into a CSV-like format, it’s presumably easy to cook up something like that with JSON, to get most of the benefits. Or give models literal CSV+JSON+YAML content; but whatever… there are many ways to paint the bikeshed.

---

<div class="post-metadata">

**Author:** ![sivark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sivark/32/960_2.png) [@sivark](https://discourse.julialang.org/u/sivark)\
**Post date:** [November 18, 2025, 2:05pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/12 "2025-11-18T14:05:22Z")

</div>

(Okay, I’m getting baited and can’t help myself) If one really cares for efficient communication with minimal token count, then maybe the best way would to look into the plethora of serialization formats for storing/transmitting data, finding the most suitable one, and then training whatever AI model to become fluent in that.

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [December 26, 2025, 3:01pm UTC](https://discourse.julialang.org/t/has-anyone-heard-of-toon-format-looking-for-julia-implementation/133908/13 "2025-12-26T15:01:05Z")

</div>

ToonFormat.jl is now published in Julia General Registy.  
See announcement at [[ANN] ToonFormat.jl - Token-Oriented Object Notation for Julia 🔵](https://discourse.julialang.org/t/ann-toonformat-jl-token-oriented-object-notation-for-julia/134748)
