toon-java
View on GitHub☕ Community-driven Java implementation of TOON
JToon is a Java library for encoding and decoding TOON, a compact structured-data format for LLM contexts. It supports Java objects, JSON input, Jackson annotations, configurable delimiters, and strict decoding.
Use Cases
Serialize Java objects into compact LLM contextReduce token usage compared with JSONDecode TOON data back into Java objects or JSONEncode structured data as compact tabular arrays
Built With
- Language
- Java
- Frameworks
- Jackson Annotations
Tags
TOON · serialization · LLM contexts · token reduction · encoder · decoder · Java · structured data