condense-json 1.0
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Python developers logging LLM conversations to SQLite can now deduplicate repeated strings, cutting storage without losing reversibility.
Simon Willison released version 1.0 of condense-json, a small Python library he first published about eighteen months ago. It shrinks JSON files (a common data format) by spotting repeated strings and swapping them for a short placeholder token that can be reversed later. He uses it to save space in the logs created by his LLM tool. The article gives no performance benchmarks.
Simon Willison has stamped version 1.0 on condense-json, a Python library he has maintained for a year and a half, signalling it is stable. The tool saves storage by replacing duplicated strings inside JSON data with reversible placeholders. It matters mainly to teams storing large volumes of AI conversation logs, such as users of his LLM tool with SQLite; there is no pricing, adoption data or competitive landscape discussed.
condense_json 1.0 scans a JSON document for strings or substrings matching a supplied replacements object and emits a {"$r": ...} placeholder structure referencing the shared value; uncondense_json(condensed, replacements) restores the original. Use case is deduplicating content in LLM conversation logs stored in SQLite, per PR #1586 in the llm repo. No size-reduction benchmarks or limitations are stated.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.