Skip to content

j-plugins/toon-plugin

Repository files navigation

TOON Plugin

Build Version Downloads

GitHub | Telegram | Donation | Official website

TOON syntax support

TOON (Token-Oriented Object Notation) syntax support:

  • syntax highlighting
  • patterns matching (soon)
  • indentation support (soon)
  • JSON/Yaml <-> TOON converter (soon)

TOON is a compact, human-readable encoding of the JSON data model for LLM prompts.

Token-Efficient & Accurate

TOON reaches 74% accuracy (vs JSON's 70%) while using ~40% fewer tokens in mixed-structure benchmarks across 4 models.

JSON Data Model

Encodes the same objects, arrays, and primitives as JSON with deterministic, lossless round-trips.

LLM-Friendly Guardrails

Explicit [N] lengths and {fields} headers give models a clear schema to follow, improving parsing reliability.

Minimal Syntax

Uses indentation instead of braces and minimizes quoting, giving YAML-like readability with CSV-style compactness.

Tabular Arrays

Uniform arrays of objects collapse into tables that declare fields once and stream row values line by line.

Multi-Language Ecosystem

Spec-driven implementations in TypeScript, Python, Go, Rust, .NET, and other languages.

Donation

Open-source tools can greatly improve workflows, helping developers and businesses save time and increase revenue. Many successful projects have been built on these tools, benefiting a wide community. However, maintaining and enhancing these resources requires continuous effort and investment.

Support from the community helps keep these projects alive and ensures they remain useful for everyone. Donations play a key role in sustaining and improving these open-source initiatives.

Chose the best option for you to say thank you:

Patreon | Buy me a coffee | Boosty

Releases

No releases published

Contributors 2

  •  
  •