JSON Key counter is a command line utility that recursively walks specified
directories to count unique key paths found in *.json files.
Features
Specify one or more filenames or directories for jkc to recursively descend into
Directories are walked recursively and all *.json files are scanned
Array elements are rolled up into [*]
Keys may be excluded to reduce noise with -v key flag
IDs (UUID and PushIds) may be rolled up with the -i flag which reduces them to <id>
Partial keys can be ignored with the -p flag
The type of each key is reported (string, number, boolean, unknown). Objects and arrays are flattened or rolled up.
Reports with directory crawled may be printed with -csv or -tsv flags.
Usage
USAGE:
jkc <filename | dir> [<filename | dir> ...]
-csv output in CSV format
-i skip keys that looks like push ids or uuids
-p value skip "key" with this substring (invert match)
-tsv output in TSV format
-v value skip this "key" (invert match)```