1 unstable release
0.1.1 | Nov 3, 2024 |
---|
#15 in #present
130 downloads per month
8KB
137 lines
JsonKeyCompare
A very simple program that compares two or more JSON files and reports any keys that are present in the first file but not in any of the other files.
Usage:
jsonkeycompare <main_file> <other_file_1> <other_file_2> ... [--fail] [--sort]
Options:
--fail
Exit with non-zero status if any files are missing keys.
--sort
Sort the output alphabetically.
Tip:
You can use wildcard expansion (at least on Linux) to compare multiple files easily:
jsonkeycompare main.json *.json
Dependencies
~0.5–11MB
~62K SLoC