Skip to main content

toonizasion 1.0.1 copy "toonizasion: ^1.0.1" to clipboard
toonizasion: ^1.0.1 copied to clipboard

A Dart implementation of Token-Oriented Object Notation (TOON), a compact and LLM-friendly data format.

Changelog #

All notable changes to this project will be documented in this file.

1.0.0 - 2026-04-11 #

Added #

  • Core TOON Engine: Full implementation of the Token-Oriented Object Notation encoder and decoder for Dart.
  • Deep Tabularization: Automatic flattening of nested uniform objects into single-line tabular headers (e.g., user.address.street). Achieves ~40% token savings on complex datasets.
  • Smart Sequences: Support for non-tabular lists of objects without markers, using "Duplicate Key" detection to identify item boundaries.
  • Validation & Linting API: Added validateToon and ToonLintError to catch structural issues like inconsistent indentation or truncated arrays.
  • CLI Tool: A command-line utility for developers (bin/toon.dart):
    • validate: Quick structural check.
    • lint: Inline error reporting with comments on problematic lines.
    • decode: Parse and view resulting JSON structure.
  • Improved Examples: Added example.dart (simple hikes) and users_example.dart (complex nested users) to demonstrate different output modes.
  • Documentation: Detailed README.md and a comprehensive usage.md guide.

Fixed #

  • Type Fidelity: Fixed an issue where strings starting with numbers were misinterpreted as numeric types; these are now correctly quoted.
  • Key Stability: Removed automatic alphabetical sorting of keys to preserve the original insertion order of the data.
  • Indentation Strictness: Improved the decoder to be more graceful with root-level indentation in certain CLI edge cases.

1.0.1 - 2026-04-11 #

Added #

minor chnages

0
likes
150
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart implementation of Token-Oriented Object Notation (TOON), a compact and LLM-friendly data format.

License

MIT (license)

Dependencies

meta

More

Packages that depend on toonizasion