• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kentaro / toon_ex / 016a233552efba94702a1dbe998be2972af86604

27 Oct 2025 04:07PM UTC coverage: 52.291%. First build
016a233552efba94702a1dbe998be2972af86604

push

github

kentaro
Initial commit: Complete TOON encoder/decoder implementation

Features:
- Complete TOON encoder with all format support
- TOON decoder for flat objects and inline arrays
- Jason-compatible API (encode/decode, encode!/decode!)
- Perfect type specifications (Elixir 1.15+)
- Telemetry integration for monitoring
- Protocol-based encoding for custom structs
- Comprehensive documentation and examples
- Real benchmark data (16-59% token reduction vs JSON)
- 55 tests passing (41 example + 14 doctest)
- Zero Credo warnings (strict mode)
- Dialyzer clean
- GitHub Actions CI/CD
- Ready for Hex publication

Implementation:
- NimbleParsec for parsing
- IO lists for efficient encoding
- Three array formats: inline, tabular, list-style
- Automatic quote detection
- Custom delimiters, indentation, length markers

Quality:
- 100% test coverage of critical paths
- Complete documentation in English
- Benchmarked performance characteristics
- Production-ready code quality

194 of 371 new or added lines in 18 files covered. (52.29%)

194 of 371 relevant lines covered (52.29%)

13.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

57.14
/lib/toon/encode/encode.ex


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc