Rayrun
← Back to tools

JSON Diff Analyzer

A JSON diff analyzer tool compares two JSON (JavaScript Object Notation) objects and highlights the differences between them, allowing for easy comparison and analysis of the two objects.

Use Ctrl + k + "Tools" to quickly access all tools.

Options

Whether to show the diff in a split view (side-by-side) or unified view (one column).

Whether to show the entire diff or just the changes.

1
{
1
{
2
  "bookstore": {
2
  "bookstore": {
3
    "name": "Bookhaven",
3
    "name": "Bookhaven",
4
    "location": "Seattle, WA",
4
    "location": "Seattle, WA",
5
    "books": [
5
    "books": [
6
      {
6
      {
7
        "title": "Moby Dick",
7
        "title": "Moby Dick",
8
        "author": "Herman Melville",
8
        "author": "Herman Melville",
9
-
        "price": 15.99,
9
+
        "price": 14.99, 
10
        "inStock": true
10
        "inStock": true
11
      },
11
      },
12
      {
12
      {
13
-
        "title": "The Great Gatsby",
13
+
        "title": "To Kill a Mockingbird",
14
-
        "author": "F. Scott Fitzgerald",
14
+
        "author": "Harper Lee",
15
-
        "price": 12.99,
15
+
        "price": 18.99,
16
        "inStock": false
16
        "inStock": false
17
      },
17
      },
18
      {
18
      {
19
-
        "title": "To Kill a Mockingbird",
19
+
        "title": "1984",
20
-
        "author": "Harper Lee",
20
+
        "author": "George Orwell",
21
-
        "price": 18.99,
21
+
        "price": 10.99,
22
        "inStock": true
22
        "inStock": true
23
      }
23
      }
24
    ],
24
    ],
25
    "contact": {
25
    "contact": {
26
-
      "email": "info@bookhaven.com",
26
+
      "email": "support@bookhaven.com",
27
-
      "phone": "123-456-7890"
27
+
      "phone": "123-456-7890",
28
+
      "fax": "123-456-7891"
28
    }
29
    }
29
  }
30
  }
30
}
31
}

Feedback or suggestions? Send it to luc@ray.run

Thank you!
Was this helpful?

Open Source Packages

Install with https://npmjs.com/:

  • react-diff-viewer-continued

Related Tools

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.