jq + for code example
Example 1: get jq command
apt-get update && apt-get install jq #Just install this way in UNIX
Example 2: jq filter array
$ json='[{"genre":"deep house"}, {"genre": "progressive house"}, {"genre": "dubstep"}]'
$ echo "$json" | jq -c '.[] | select(.genre | contains("house"))'
{"genre":"deep house"}
{"genre":"progressive house"}