Skip to content

toon-format/toon-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TOON Format for .NET

NuGet version .NET version License: MIT

Token-Oriented Object Notation is a compact, human-readable format designed for passing structured data to Large Language Models with significantly reduced token usage.

Status

🚧 This package is currently a namespace reservation. Full implementation coming soon!

Example

JSON (verbose):

{
  "users": [
    { "id": 1, "name": "Alice", "role": "admin" },
    { "id": 2, "name": "Bob", "role": "user" }
  ]
}

TOON (compact):

users[2]{id,name,role}:
  1,Alice,admin
  2,Bob,user

Resources

Future Usage

Once implemented, the package will provide:

using Toon.Format;

var data = // your data structure
var toonString = ToonEncoder.Encode(data);
var decoded = ToonDecoder.Decode(toonString);

Contributing

Interested in implementing TOON for .NET? Check out the specification and feel free to contribute!

License

MIT License © 2025-PRESENT Johann Schopplich

About

🔵 Community-driven .NET implementation of TOON

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages