PrivTab

مقایسهٔ JSON

مقایسهٔ دو JSON

در مرورگر شما اجرا می‌شود · بدون بارگذاری

این ابزار و راهنمای این صفحه فعلاً به زبان انگلیسی است. عملکردش همان است: همه چیز در مرورگر شما اجرا می‌شود.

  • هیچ چیز از دستگاه شما خارج نمی‌شود
  • بدون محدودیت حجم از سوی سرور
  • بدون ثبت‌نام، بدون واترمارک
  • رایگان

How to compare JSON

  1. Paste the original JSON on the left and the changed JSON on the right, or open files.
  2. Choose whether the order of array items matters.
  3. Read the list of differences, then copy or download the report.

What counts as a difference

  • A key that was added or removed.
  • A value that changed, including a change of type, such as 3 becoming "3".
  • Array items compared by position, or as a collection when you ignore their order.
  • Not a difference: key order, spacing and numbers written differently (1.0 and 1).

Paths

Each difference shows where it is, like $.env.LOG_LEVEL or $.items[2].price. $ is the top of the document.

پرسش‌های رایج

How is this different from Text Compare?

Text Compare compares lines of text, so reordered keys or different spacing show up as changes. JSON Diff reads both documents first and compares the data.

Are my files uploaded?

No. Everything happens in your browser, and the page is blocked from uploading anything.