json2toon.co
Secure

Installations

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

Community

Installation

Add the official ApexToon package to your project

sfdx force:source:deploy -p force-app

Usage Example

Quick start guide for encoding and decoding TOON format in Apex

// Serialize
Map<String, Object> data = new Map<String, Object>{'name' => 'Alice', 'age' => 30};
String toon = TOON.encode(data);
System.debug(toon);

// Deserialize
Map<String, Object> decoded = (Map<String, Object>) TOON.decode(toon);