condense-json 1.1
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Anyone using condense-json to shrink JSON payloads for LLM context can now replace non-string values and merge objects, not just strip strings.
Simon Willison released condense-json 1.1, a Python tool that shrinks large JSON files by replacing repetitive content with short placeholders and then restoring them. Version 1.1 can now replace values that aren't just text, and can merge similar objects by recording which keys to add, update or delete. This matters for developers working with AI systems, since it helps fit more data into a limited context window.
Willison's condense-json 1.1 makes the open-source Python library more useful for LLM work: replacements can now be non-string values, and near-matching JSON objects can be merged via stored instructions rather than replaced wholesale. It's a niche developer tool, so the business impact is limited to teams building AI pipelines that pass large JSON data to language models.
condense-json 1.1 extends the replacement mechanism so replacement objects may hold non-string values, which condense_json() and uncondense_json() treat as structural replacements (issue #8). Objects that are close matches can now drive merge operations: condense_json() stores per-key update and delete instructions that uncondense_json() applies. Round-trip correctness is tested with Hypothesis property-based testing.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
condense-json 1.1 condense_json() uncondense_json() Hypothesis Pyodide
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.