toon_plus 0.0.4
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
toontotoon_plus - Updated all documentation, examples, and README
- Fixed all import paths and references
0.0.2 - 2025-11-26 #
Changed #
- Renamed package from
toontotoon_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 formatdecode()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