Corvus.Toon.SystemTextJson
5.6.1
dotnet add package Corvus.Toon.SystemTextJson --version 5.6.1
NuGet\Install-Package Corvus.Toon.SystemTextJson -Version 5.6.1
<PackageReference Include="Corvus.Toon.SystemTextJson" Version="5.6.1" />
<PackageVersion Include="Corvus.Toon.SystemTextJson" Version="5.6.1" />
<PackageReference Include="Corvus.Toon.SystemTextJson" />
paket add Corvus.Toon.SystemTextJson --version 5.6.1
#r "nuget: Corvus.Toon.SystemTextJson, 5.6.1"
#:package Corvus.Toon.SystemTextJson@5.6.1
#addin nuget:?package=Corvus.Toon.SystemTextJson&version=5.6.1
#tool nuget:?package=Corvus.Toon.SystemTextJson&version=5.6.1
Corvus.Toon.SystemTextJson
High-performance TOON (Token-Oriented Object Notation) conversion support using only System.Text.Json.
TOON is a compact text format for JSON-shaped data and LLM prompts. It keeps JSON's data model while using indentation and table-style rows to reduce prompt tokens and make uniform arrays easier for AI models to follow. This package converts TOON to System.Text.Json.JsonDocument and converts JSON back to TOON without depending on Corvus.Text.Json.
Installation
dotnet add package Corvus.Toon.SystemTextJson
Quick start
using Corvus.Toon;
using System.Text.Json.JsonDocument doc =
ToonDocument.Parse("name: Alice\nage: 30");
string json = ToonDocument.ConvertToJsonString("name: Alice\nage: 30");
string toon = ToonDocument.ConvertToToonString("""{"name":"Alice","age":30}""");
Related packages
| Package | Purpose |
|---|---|
| Corvus.Text.Json.Toon | TOON converter for Corvus.Text.Json |
Documentation
See the TOON documentation.
TOON project resources:
| Resource | Link |
|---|---|
| Project site | toonformat.dev |
| Reference implementation | github.com/toon-format/toon |
| Specification | github.com/toon-format/spec |
License
Apache 2.0 - see LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Buffers (>= 4.6.1)
- System.Memory (>= 4.6.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Text.Json (>= 10.0.7)
-
.NETStandard 2.1
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Text.Json (>= 10.0.7)
-
net10.0
- No dependencies.
-
net9.0
- System.Text.Json (>= 10.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.6.1 | 97 | 9/13/2026 |
| 5.5.5 | 91 | 9/9/2026 |
| 5.5.4 | 91 | 9/1/2026 |
| 5.5.3 | 87 | 9/1/2026 |
| 5.5.2 | 93 | 8/30/2026 |
| 5.5.1 | 91 | 8/30/2026 |
| 5.5.0 | 100 | 8/27/2026 |
| 5.4.3 | 104 | 8/26/2026 |
| 5.4.2 | 87 | 8/26/2026 |
| 5.4.1 | 110 | 8/20/2026 |
| 5.4.0 | 105 | 8/19/2026 |
| 5.3.2 | 98 | 8/10/2026 |
| 5.3.1 | 102 | 8/5/2026 |
| 5.3.0 | 94 | 8/5/2026 |
| 5.2.13 | 110 | 8/2/2026 |
| 5.2.12 | 106 | 8/1/2026 |
| 5.2.10 | 149 | 7/26/2026 |
| 5.2.9 | 116 | 7/22/2026 |
| 5.2.7 | 111 | 7/12/2026 |