toon_plus 0.0.4 copy "toon_plus: ^0.0.4" to clipboard
toon_plus: ^0.0.4 copied to clipboard

A compact, human-readable data serialization format that reduces token usage by 30-50% compared to JSON while maintaining readability. Perfect for LLM applications and API optimization.

Changelog #

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.4 - 2025-11-26 #

Fixed #

  • Comprehensive package rename from toon to toon_plus
  • Updated all documentation, examples, and README
  • Fixed all import paths and references

0.0.2 - 2025-11-26 #

Changed #

  • Renamed package from toon to toon_plus
  • Updated all import statements and references
  • Refined topics for better discoverability

0.0.1 - 2025-11-26 #

Added #

  • Initial release of TOON package
  • encode() function to convert Dart objects to TOON format
  • decode() function to convert TOON format to Dart objects
  • Support for primitives: strings, numbers, booleans, null
  • Support for nested objects with indentation-based structure
  • Support for arrays (both inline and multi-line)
  • Customizable indentation (default: 2 spaces)
  • Customizable array delimiters (comma, tab, pipe)
  • Comprehensive test coverage
  • Full API documentation
  • Example application demonstrating all features
  • Pure Dart implementation with zero dependencies

Features #

  • 30-50% token reduction compared to JSON
  • Human-readable format
  • Type preservation during encoding/decoding
  • Automatic string quoting when necessary
  • Support for complex nested structures
  • Round-trip conversion guarantee
3
likes
140
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

A compact, human-readable data serialization format that reduces token usage by 30-50% compared to JSON while maintaining readability. Perfect for LLM applications and API optimization.

Repository (GitHub)
View/report issues

Topics

#toon #json #decoding #encoding #token-optimization

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on toon_plus