Urgent.News

What's breaking now, across thousands of outlets.

Culture

condense-json 1.0

Release: condense-json 1.0 I'm trying to get braver at releasing 1.0 versions. This little library is a year and a half old now - I've applied some sensible and non-disruptive fixes and shipped the big 1.0 for it. Here's an example of what it can do, lifted from the README: { "foo" : { "bar" : { "string" : " This is a string with foxes in it " , "nested" : { "more" : [ " Here is a string " , "…

Simon Willison's recent release of condense-json 1.0 marks a significant milestone in the library's development. The one-year-and-a-half-old library has undergone some sensible and non-disruptive fixes, culminating in the big 1.0 release. The library's functionality is demonstrated in the README, showcasing its ability to replace strings or substrings in JSON input with a special {"$r": ...} syntax.

This feature can be reversed using uncondense_json, making it easier to store JSON with duplicated data from related structures. A prime example of this application is in the saving of space in SQLite logs generated by Large Language Models, as evidenced by PR #1586. Simon Willison, the creator of the library, posted its release on the 2nd of August 2026.

For those interested in staying updated with the latest LLM developments, sponsoring Willison for $10/month offers a curated email digest of the month's most important LLM news.

Written by urgent.news from Simon Willison's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at simonwillison.net →

More in Culture

More from Sunday 2 August →