json2toon.co
Secure

Installations

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

In Development

Installation

Add the official toon_format package to your project

dart pub add toon_format

Usage Example

Quick start guide for encoding and decoding TOON format in Dart

import 'package:toon_format/toon_format.dart';

void main() {
  // Your data
  final data = {
    'name': 'Alice',
    'age': 30
  };
  
  // Convert to TOON format
  final toonString = encode(data);
  print(toonString);
  // Output:
  // name: Alice
  // age: 30
  
  // Convert back to map
  final decoded = decode(toonString);
}