jq
Introduction
jq is a JSON parser and formatter for the command-line. It ingests JSON as input and yields human-readable output.
Useful for parsing JSON-formatted system logs.
Use
Filtering and selecting:
cat my.json | jq 'select ( .first_key.second_key[1].second_object_key == "my value" ).filtered_result_key'
Output may be piped into less or a similar tool:
cat my.json | jq -C | less -R