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