My input file is newline delimited JSON (ndjson
) looking something like this:
{
"login": "dmaxfield",
"id": 7449977,
...
}
{
"login": "dmaxfield",
"id": 7449977,
...
}
I can get all the login
names with this : cat members | jq '.[].login'
but I have not been able to crack the syntax to get both the login
and id
?