Lightlines
By reason-machines

toon-format

reason-machines1.3k installs

Compact prompt data without repeated field names.

What it does

Guides conversion between JSON data and compact TOON representations for language-model prompts.

When to use it

Use for encoding uniform object arrays in language-model input; benchmark deeply nested or non-uniform data against compact JSON.

How to use it

It changes how the agent encodes and decodes structured data in project code for language-model input.

What you provide

  • An existing project

Latest review

What you need · 1

The encoding and decoding examples use the @toon-format/toon library, with installation instructions provided.


Access · 0

No additional actions listed.