这个工具做什么?
| 直接答案 | JSON Diff 递归遍历两个文档并报告每个添加、删除或更改的值及其完整路径。 |
| 关键事实 | 对于对象键,差异是顺序无关的,但对于数组是顺序敏感的。 |
| 处理 | 在您的浏览器中本地运行;不会将数据发送到服务器。 |
如何使用
- 将原始 JSON 粘贴在左侧。\n将更改后的 JSON 粘贴在右侧。\\n点击比较 JSON 以查看按路径的差异。
Who is this for?
This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.
Developers formatting API responses or config files, analysts inspecting minified payloads, and students learning structured data formats. If you have ever squinted at a one-line blob hoping to find a missing brace, this page is for you.
常见问题
键的顺序重要吗?
不会。具有相同键但顺序不同的对象被视为相等;仅比较值。
数组是如何比较的?
按索引逐元素比较 — [1,2] 与 [2,1] 显示所有元素都已更改。
± 符号是什么意思?
± 标记一个更改的值,+ 表示添加的键,- 表示删除的键。