json='[ { "location": "Stockholm", "name": "Walt" }, { "location": "Germantown", "name": "Donald" } ]' echo $json | jq '.[] | select(.location=="Stockholm")'