Install TOON for Julia

TOON is available in multiple languages. Choose your preferred ecosystem and start integrating TOON into your projects today.

Installation

Add the official ToonFormat package to your project

Pkg.add("ToonFormat")

Usage Example

Quick start guide for encoding and decoding TOON format in Julia

using ToonFormat

# Data
data = Dict("name" => "Alice", "age" => 30)

# Encode
s = toon_encode(data)
println(s)

# Decode
d = toon_decode(s)

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.