jq is a lightweight and flexible command-line JSON processor.
You can also try it online at jqplay.org