JSON differencing calculator
Calculator compares two JSON documents and finds out differences between them.

Beta version#

BETA TEST VERSION OF THIS ITEM
This online calculator is currently under heavy development. It may or it may NOT work correctly.
You CAN try to use it. You CAN even get the proper results.
However, please VERIFY all results on your own, as the level of completion of this item is NOT CONFIRMED.
Feel free to send any ideas and comments !

Settings - how do you want to compare your texts#

The first JSON text#

The second JSON text#

Found differences (JSON)#

{↵
  "company": "KEMU Studio",↵
  "site": "calculla.pl",↵
  "version": 1↵
  "site": "calculla.com",↵
  "version": 2↵
}

Compare statistics#

Summary
Comparison method
Case sensitive
Ignore white characters
Compare result
Are JSON documents equalno
Are texts equal
(strict char-by-char comparison)
no
Length of entered texts
Length of the first text65
Length of the second text74
Differences found in JSON documents
Number of added fields1
Number of removed fields1
Number of unchanged fields2

Some facts#

  • JSON (JavaScript Object Notation) is a data exchange format.
  • Although the JSON format is derived from JavaScript, it is widely used in isolation from a specific language or technology.
  • Data in the JSON form is a subset of the JavaScript language. This means that the JSON document can be directly entered into the source code written in this language.
  • Data saved as JSON has a tree structure in the sense that there is one common root from which (directly or not) all other nodes (fields) derive.
  • Data types available in JSON format are:
    • textual value (so-called string) e.g. "calculla.pl",
    • number e.g. 2.0,
    • logic value (so-called boolean) - true or false,
    • table - contains an ordered data set, e.g.
      [
      "pi",
      3.14,
      true
      ]

    • map - contains (key, value) pairs, where key is a string and value has any type e.g.
      {
      "x": 1,
      "pi": 3.14,
      "z": false
      }

    • null - a special type meaning empty value or no value.
  • The JSON format is currently one of the most popular formats for exchanging data over internet.
  • Data in JSON format is a human-understandable text. The binary equivalent format is BJSON (Binary JSON).

How to use this tool#

  • Simply paste or type-in the two texts you want to compare into the boxes marked first text and second text.
  • A list of differences found between the entered texts (if any) will be shown below.

What is the meaning of each calculator field ?#

  • Comparison method - defines the way we should split the text before comparing it, the available options are:
  • case sensitive - select this option if you want to perform a case-sensitive comparison, then the words calculla, CALCULLA and CaLcUlLa will be treated as three different words,
  • ignore white characters - this option is available only when comparing words, lines or sentences, check this option if the spacing between compared elements (words, sentences etc.) does not matter for you,
  • the first text - the original, reference text that we want to compare,
  • the second text - modified text in which we are looking for differences to the original one,
  • are texts equal - yes, if no difference was found between the entered texts, no - otherwise,
  • found differences - list of differences found between the first and second text,
    • characters colored in red mean deleted characters (ie those that appear in the first text but do not appear in the second) ,
    • characters colored green mean added characters (ie those that did not appear in the first text but appeared in the second),
    • characters that remain identical in both texts are presented in standard gray font.

See also#

  • If you are interested in diff tools, see our other calculators:
    • Text compare - compares two texts by character, words, lines or whole sentences,
    • JSON compare - compares two documents in JSON format,
    • CSS compare - compares two cascading CSS style sheets.

Tags and links to this website#

What tags this calculator has#

Permalink#

Links to external sites (leaving Calculla?)#

JavaScript failed !
So this is static version of this website.
This website works a lot better in JavaScript enabled browser.
Please enable JavaScript.