is a WL Paclet that provides support for the TOON format in Wolfram Language. It provides two functions, namely ToTOON and FromTOON1 that make conversion to-and-fro TOON possible.
is as easy as running
PacletInstall["Taggar/TOON"]Once the paclet is installed, load it by running
Needs["Taggar`TOON`"]<<Taggar`TOON`
data = <|"Name" -> "TOON", "Language" -> "Wolfram"|>
ToTOON[data, "Indent" -> 4, "Delimiter" -> "\t"]
(* "Name: TOON\nLanguage: Wolfram" *)Full example:
<<Taggar`TOON`
data = <|"context" -> <|"task" -> "Our favorite hikes together",
"location" -> "Boulder", "season" -> "spring_2025"|>,
"friends" -> {"ana", "luis", "sam"},
"hikes" -> {<|"id" -> 1, "name" -> "Blue Lake Trail",
"distanceKm" -> 7.5, "elevationGain" -> 320, "companion" -> "ana",
"wasSunny" -> True|>, <|"id" -> 2, "name" -> "Ridge Overlook",
"distanceKm" -> 9.2, "elevationGain" -> 540,
"companion" -> "luis", "wasSunny" -> False|>, <|"id" -> 3,
"name" -> "Wildflower Loop", "distanceKm" -> 5.1,
"elevationGain" -> 180, "companion" -> "sam", "wasSunny" -> True|>}|>;
ToTOON[data]which returns the following output:
context:
task: Our favorite hikes together
location: Boulder
season: spring_2025
friends[3 ]: ana luis sam
hikes[3 ]{id name distanceKm elevationGain companion wasSunny}:
1 Blue Lake Trail 7.5 320 ana true
2 Ridge Overlook 9.2 540 luis false
3 Wildflower Loop 5.1 180 sam trueVersion 0.1.0, on 02 January, 2026 — Initial upload, encoder complete except key-folding. This means over 95% spec-compliance.
v0.2.0, expected — Decoder implemented.
are welcome.
Footnotes
-
FromTOONis yet to be implemented. The paclet itself is under development and not yet stable. ↩