JSON Comparator is used to compare two JSON files. This utility has been built up to compare two JSON Strings / Files. Just need to provide the JSON contents, it will compare and find out the differences.
The JSON comparator supports Any JSON content fully. JSON Comparator do compare two JSON Strings and find out the diff in JSON data. Show the difference highligting with different color for addition, deletion and modification. It quickly show the difference in your JSON data..
Its not a text compare. It mainly compare elements and attributes from both the JSONs.
Click
Here To Watch A Demo On It(https://youtu.be/grECgKDbeuw).
It provides following options to compare.
- Sorting and comparing
- Comparing JSON ignoring comments
- Comparing JSON ignoring element and attribute values from both
the JSONs. It is JSON structure comparasion.
How It Works:
First format the both input JSON Strings/file contents. Then it
generates the JSON path for both the soruce and target JSON strings.
Compare the JSON strings by JSON path and their values. It identifies
what are the JSON path added, deleted and modified. Finally it repors
highlighting the added, modified and deleted JSON paths and their
values.
. Input Parameters are:
- JSON1: Content of the JSON file1/string1.
- JSON2: Content of the JSON String2/ file2.
- Remove Tailing and Leading Spaces: If its checked, it trim
every JSON Path value before compare
- Remove Empty Line: If it is checked, blank lines are ignored
during file comparison.
- Show the differences highlighting with multiple color.
Summarize added, modified and deleted JSON paths and their values
User Comments: