I can get the first and birthday,
{
"users": [
{
"first": "Stevie",
"last": "Wonder",
"birthday": "01/01/1945"
},
{
"first": "Michael",
"last": "Jackson",
"birthday": "03/23/1963"
}
]
}
So with this jq command, I can get the record:
$ cat a.json |jq '.users[] | .first + " " + .last + " " + .birthday'
"Stevie Wonder 01/01/1945"
"Michael Jackson 03/23/1963"
And I am close to the answer to match the first name
$ cat a.json |jq '.users[] | select(.first=="Stevie") | .birthday '
"01/01/1945"
But how to get the output which matched both first and last name?