# condense-json 1.1 发布

- 来源：Simon Willison 博客
- 发布时间：2026-08-03 12:56
- AIHOT 分数：53
- AIHOT 链接：https://aihot.virxact.com/items/cmsfdkkcs1od0ro2euc2g5306
- 原文链接：https://simonwillison.net/2026/Aug/3/condense-json

## AI 摘要

condense-json 1.1 发布，新增两项功能：替换对象现可包含字符串以外的值，由 condense_json() 和 uncondense_json() 识别并用作结构替换；对象可作为合并操作基础，condense_json() 会识别近似匹配的对象并存储键更新或删除指令。项目还新增了基于 Hypothesis 属性测试库的往返测试。

## 正文

Release: condense-json 1.1

After shipping condense-json 1.0 I started integrating it into LLM, and found there were some desirable new features already:

Replacements object can now include values other than strings. These will be identified and used as structural replacements by condense_json() and uncondense_json(). #8

Objects can be used as the basis for merge operations. condense_json() will identify if there are objects that are a close match and will store instructions for keys to update or delete. uncondense_json() can then apply these merges.

I also added some round-trip tests using the Hypothesis property-based Python testing library.

Tags: json
