Package versions and protocol versions are different. Published package scope: runtime DevOp.Toon 0.3.0, Core 0.2.0, API 0.2.0, and Client 0.2.0. Runtime 0.3.0 supports these protocol selections:
| TOON protocol | ToonProtocolVersion |
Write / serialize | Read / deserialize |
|---|---|---|---|
| Official 3.0 | V3_0 |
Yes | Yes |
| Official 4.0 | V4_0 |
Yes | Yes |
| Official 4.1 | V4_1 |
Yes | Yes |
| Official 4.2 | V4_2 |
Yes | Yes |
| Official 4.3 | V4_3 |
Yes | Yes |
| Official 4.4 | V4_4 |
Yes — default | Yes |
| Legacy custom | CustomLegacy |
Yes | Yes |
| Custom 4.4 | CustomV4_4 |
Yes | Yes |
| Automatic detection | Auto |
No | Yes — default; ambiguous input requires a hint |
The official 3.0 entry means 3.0, not all 3.x releases. Pinned fixture provenance is 3.0.0, 4.0.0, 4.1.3, 4.2.1, 4.3.0, and 4.4.0. These fixture tags identify the checked-in specification test inputs; they are not NuGet versions or a promise of support for every release in a major series.
Runtime, Core, and Client target .NET Standard 2.0 and .NET 8, 9, and 10. API targets .NET 8 and 10. Framework targets are independent of the TOON wire protocol.
Select the enum when serializing. Supply it when decoding known legacy or ambiguous input. Custom formats require compatible readers at both ends. Version selection and migration guide · Pinned fixture provenance.

DevOp.Toon is a .NET SDK and integration framework for working with TOON (Token-Oriented Object Notation), enabling efficient, structured communication with LLMs and APIs.
It is built for teams that care about transport efficiency, storage footprint, and predictable application integration. You can use it as a simple serializer, a reusable DI service, or a bridge between JSON and TOON while you adopt the format incrementally.
The useful distinction is how the format and the application fit together:
Read official vs custom 4.4: benefits and usage for the same nested data in both formats, measured payload/memory tradeoffs, and runnable C# and HTTP configuration examples.
The existing row-spill layout is a custom extension, not a document every TOON decoder can read. Official v4 can group uniform nested objects into a header, but array-valued columns prevent official tabular encoding. Keeping scalar columns while spilling those collections is the custom layout's particular use case.
Use an official protocol mode for interoperability with other implementations, and agree on the custom mode at both ends when its layout is useful. Omission settings can remove all-null/all-empty-string columns or empty arrays; disable them when preserving those distinctions matters.
Version scope: Core 0.2.0, runtime 0.3.0, API 0.2.0, and Client 0.2.0.
Encoding defaults to official 4.4. Supply ToonEncodeOptions.ProtocolVersion with a concrete ToonProtocolVersion: V3_0, V4_0 through V4_4, CustomLegacy, or CustomV4_4. Decoding defaults to Auto; ambiguous version-dependent input needs an explicit ToonDecodeOptions.ProtocolVersion. Auto cannot be used for encoding or as a transport version.
Select CustomLegacy to retain the earlier custom wire profile. CustomV4_4 combines nested header groups with row/keyed spills. Custom profiles require compatible readers at both ends and default IgnoreNullOrEmpty and ExcludeEmptyArrays to true. Official profiles default both to false. Set both explicitly false when preserving null, empty-string, and empty-array distinctions matters. Explicit option overrides remain effective when changing versions. Columnar requires a custom protocol selection.
Encoder options and runtime DI encoding default to one-space indentation; decoder options default to two spaces. With explicit decode options, match the producer’s indentation or detect options using the supplied version hint. API registration aligns both widths at two spaces. Byte sequences default to Base64 strings; numeric-array output is an explicit policy choice.
See the November 2026 runtime 0.3.0 benchmark section for the current package measurements and the product benchmark source report for profiles and methodology. The April 2026 numbers below remain historical evidence.
The benchmark page contains historical April 2026 measurements against System.Text.Json, including raw and compressed sizes, timings, and allocations. Those results apply to the recorded datasets and options; they are historical measurements for those exact profiles, not measurements of runtime 0.3.0.
Compare profiles with the same represented data before drawing conclusions. The custom omission profile may produce a smaller document partly because it intentionally omits values. Smaller output alone does not prove lower latency, lower allocations, or a lower token count for every tokenizer.
ToonEncoder for writing TOONToonDecoder for reading TOONToonService and IToonService for application-level useAddToon(...) for dependency injectionThis package is strongest when payloads contain repeated object rows, nested collections, or catalog-style business data, for example:
If you are evaluating the package for the first time, read these pages in order:
| Package | Use it for |
|---|---|
| DevOp.Toon | Runtime serialization, dependency injection, and JSON interoperability |
| DevOp.Toon.Core | Lightweight contracts, shared enums, and DTO attributes |
| DevOp.Toon.API | ASP.NET Core MVC request and response formatters |
| DevOp.Toon.Client | Typed HTTP access to TOON-first APIs |
See Installation and Package Selection for guidance on which packages belong in each application layer.
For engineering readers: protocol notes, API reference, build configuration, and contributor guidance are included later in the tree so the space stays approachable for new users.
https://www.nuget.org/packages/DevOp.Toon
Historical April 2026 graphic; see the current benchmark tables above.

Source usage reference: DevOp.Toon README.