Command Line json command line processor call jq

http://stedolan.github.io/jq/

sudo apt-get install jq

Key all of the values from a json file
jq '.[]' en.json

Get all of the keys from a json file
jq 'keys[]' en.json

Get all of the keys, comma separated
jq 'keys' en.json

Leave a Reply