TOON is available in multiple languages. Choose your preferred ecosystem and start integrating TOON into your projects today.
Add the official toon-crystal package to your project
shards install
Quick start guide for encoding and decoding TOON format in Crystal
require "toon" data = {"name" => "Alice", "age" => 30} puts Toon.encode(data)
No code needed to try it: paste data into the JSON to TOON converter, compare token counts in the TOON token calculator, or read the TOON format guide.