Encodes Ruby hashes, arrays, dates and your own objects into TOON, the token-efficient format for LLM prompts: tables for uniform arrays, quotes only where needed. The only Ruby TOON gem that passes all of the current spec's encode fixtures; its version tracks the spec it implements, and anything it cannot represent raises an error so your data arrives complete.

Required Ruby Version

>= 3.3

Authors

Yevhenii Hurin

Versions

  1. 4.1.2 September 24, 2026 (13 KB)
  2. 4.1.1 September 24, 2026 (13 KB)
  3. 4.1.0 September 24, 2026 (11.5 KB)
  4. 0.0.1 September 24, 2026 (5.5 KB)

Pushed by

GitHub

SHA 256 checksum

Provenance