JQ Select by Field
json='[
{
"location": "Stockholm",
"name": "Walt"
},
{
"location": "Germantown",
"name": "Donald"
}
]'
echo $json | jq '.[] | select(.location=="Stockholm")'
Upvote answer :-)