token_pack 0.1.0
token_pack: ^0.1.0 copied to clipboard
Provider-based JSON compact representation library with TOON/ISON subsets in Dart
Examples #
Run:
dart run example/basic_usage.dart
dart run example/length_compare.dart
dart run example/auto_pack.dart
What you will see:
basic_usage.dart: original JSON + TOON encode/decode + ISON document demolength_compare.dart: JSON baseline vs TOON ratio + ISON document lengthauto_pack.dart: automatic routing (json=> toon/ison_json choose shorter,ison_document=> ison, otherwise raw)