Compare keys and string leaves between two JSON files.
gem install dorian-json-compareAlso included in the aggregate gem:
gem install dorianjson-compare file1.json file2.json [root1 root2]Run json-compare -h for generated option details and json-compare -v for the installed version.
- Prints missing keys or type mismatches to stderr and exits non-zero when differences are found.
json-compare en.json fr.json en fr