jq is a command line tool for parsing and extracting data from json.

Build your own jq is available with a project breakdown on Coding Challenges.