My article just published on @baeldung — a deep dive into JSON, TOON, and Java format libraries.
TOON uses ~40-50% fewer tokens than JSON. No braces, no brackets, no commas. Ideal for LLM apps where every token costs money.
json-io supports all three formats: JSON, JSON5, and TOON.
https://t.co/zS1zPnOK5P
#Java #JSON #LLM #AI #OpenSource
@glaforge Guillaume, thank you for creating such a fantastic graphic!
I would like to include it in the json-io https://t.co/ARM4TDbBW1 for display on GitHub. Is the original a vector (SVG) that you could share? Looking for editable version #'s.
First Java JSON library with full TOON read/write support 🎉
TOON is designed for LLM efficiency - 40-50% fewer tokens than JSON.
String toon = JsonIo.toToon(data, null);
MyClass obj = JsonIo.fromToon(toon, null).asClass(MyClass.class);
Useful for @springai and @langaborrego users optimizing token costs.
📦 com.cedarsoftware:json-io:4.85.0
🔗 https://t.co/9acBbrXmJl
#Java #LLM #SpringAI @LangChain4j@SpringAICentral @langaborrego
@starbuxman Thought this might be relevant for This Week in Spring - json-io now has full TOON read/write support for Java.
TOON reduces tokens by 40-50% vs JSON, useful for Spring AI apps. There's an open issue (#4869) requesting native support.
https://t.co/9acBbrXmJl
Washington's "Big Beautiful Bills" are on a junk food diet—overstuffed with pork and empty calories.
We need lean, athletic legislation: Small, focused, and fit for purpose. #FiscalFitness#SlimBills
@DisrespectedThe Here is an image that illustrates what this man is saying. JFK democrats are Republicans now. The modern democrate is a socialist-communist.