JSON skirtumų peržiūra (lyginami 2 JSON dokumentai)

Paste two JSON documents side by side and keep only the structural differences.

Added, removed, changed, and type changes are separated so reviews stay fast and readable.

Browser-only processing, with no server upload
Array-aware modes reduce review noise
Export JSON Patch and JSON Merge Patch
JSON lyginami tik šiame naršyklės lange ir nesiunčiami į serverį.

Recommended workflow

  1. Clean or sort the JSON first with JSON Formatter or JSON Key Sorter when you want consistent input.
  2. Paste or upload the left and right JSON documents, then run Compare.
  3. Choose the array mode, match keys, tolerance, and path rules that fit the review.
  4. Review the summary, changed paths, tree, and exportable patch output.

Pavyzdys

This sample shows how reordered arrays, timestamp changes, tiny floating-point differences, and one added item can be narrowed down with match keys, tolerance, and path rules.

Kairysis JSON

Input
{
  "orderId": "A-1001",
  "updatedAt": "2026-04-16T08:00:00Z",
  "customer": {
    "name": "Acme Corp",
    "tags": ["vip", "beta"]
  },
  "items": [
    {
      "sku": "A-1",
      "qty": 2,
      "price": 10
    },
    {
      "sku": "B-2",
      "qty": 1,
      "price": 4.5
    }
  ],
  "summary": {
    "currency": "USD",
    "total": 24.5
  }
}

Dešinysis JSON

Input
{
  "orderId": "A-1001",
  "updatedAt": "2026-04-16T08:05:00Z",
  "customer": {
    "name": "Acme Corporation",
    "tags": ["beta", "vip"]
  },
  "items": [
    {
      "sku": "B-2",
      "qty": 1,
      "price": 4.5
    },
    {
      "sku": "A-1",
      "qty": 2,
      "price": 10.0001
    },
    {
      "sku": "C-3",
      "qty": 1,
      "price": 7
    }
  ],
  "summary": {
    "currency": "USD",
    "total": 24.5001
  }
}

What the sample demonstrates

This sample shows how reordered arrays, timestamp changes, tiny floating-point differences, and one added item can be narrowed down with match keys, tolerance, and path rules.

Kaip naudoti

  1. Įklijuokite JSON į kairį ir dešinį redaktorius.
  2. Jei reikia, pakoreguokite raktų tvarką, masyvų tvarką ir rodymo režimą.
  3. Paleiskite palyginimą, o baigę nukopijuokite arba atsisiųskite ataskaitą.
  4. Copy or download the changed paths, patch, merge patch, or report when you are done.

Ką galima

  • Rekursyviai palygina JSON struktūrą.
  • Pridėtus / pašalintus / pakeistus / tipo pakeitimus rodo atskirai.
  • Perjungia medžio ir sąrašo rodinius.
  • Ataskaitą galima nukopijuoti arba atsisiųsti kaip JSON.
  • Export JSON Patch, JSON Merge Patch, changed paths, and a Markdown report.
  • Collapse unchanged nodes and jump directly to the relevant path.

Specifikacija

  • Raktų tvarka pagal nutylėjimą neturi įtakos rezultatui.
  • Masyvai pagal nutylėjimą lyginami eilės tvarka, bet elgseną galite keisti.
  • Šis įrankis neatlieka JSON Schema tikrinimo.
  • Apdorojimas visiškai vyksta naršyklėje. Į serverį niekas nesiunčiama.
  • Labai dideli JSON dokumentai priklauso nuo naršyklės našumo.
  • Large inputs use summary-first rendering and can disable auto-compare.

DUK

Ar galima ignoruoti raktų tvarką?

Taip. Pagal numatytąją elgseną raktų tvarkos triukšmas neįtraukiamas į rezultatą.

Ar lyginamos ir masyvų pozicijos?

Taip, pagal nutylėjimą lyginamos. Elgseną galite pakeisti nustatymų skydelyje.

Ar tikrinamas JSON Schema?

Ne. Čia apsiribojama tik struktūrinių skirtumų palyginimu.

Ar kas nors įkeliamas į serverį?

Ne. Palyginimas vyksta visiškai naršyklėje.

Is anything uploaded to a server?

No. Comparison, normalization, and export all happen locally in your browser.

What can I export?

JSON Patch, JSON Merge Patch, changed paths, and a Markdown report.