Skip to content

A utility for comparing two JSON files

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md
Notifications You must be signed in to change notification settings

jeffreyc/jsondiff

Repository files navigation

jsondiff

jsondiff is a utility for comparing two JSON files. It ignores whitespace and ordering of unordered values, and generates JSON Patch (RFC 6902) output describing the differences between the two files.

Usage

% jsondiff old.json old.json
Comparing old.json and old.json
No differences were detected.

% jsondiff old.json new.json
Comparing old.json and new.json
[
  {"op":"remove","path":"/removed_value"},
  {"op":"add","path":"/added_value","value":"This is the value that was added."},
  {"op":"replace","path":"/changed_value","value":"This is the value that was changed."}
]

License

jsondiff is dual-licensed under the Apache License, v2.0 or the MIT License.

About

A utility for comparing two JSON files

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages