JQ

    Select the elements where an attribute is equal to a value

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

    Source

    Delete long arrays

    Help to get headers, and clear the infos

    jq 'del(.data.long_array[]?)' json_file
    

    Select multiple fields

    jq '.[] | .login, .id'
    

    source