Skip to content

dorianmariecom/dorian-json-compare

Repository files navigation

dorian-json-compare

Compare keys and string leaves between two JSON files.

Install

gem install dorian-json-compare

Also included in the aggregate gem:

gem install dorian

Usage

json-compare file1.json file2.json [root1 root2]

Run json-compare -h for generated option details and json-compare -v for the installed version.

Notes

  • Prints missing keys or type mismatches to stderr and exits non-zero when differences are found.

Examples

Compare two locale files

json-compare en.json fr.json en fr

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors