JQ

    Select the elements where an attribute is equal to a value

    jq '.[] | select(.location=="Stockholm")' json

    Source