I have this Json
{
"users": [
{
"first": "Stevie",
"last": "Wonder"
},
{
"first": "Michael",
"last": "Jackson"
}
]
}
Using jq I'd like to display first and last name serially. Like so -
Stevie Wonder
Michael Jackson
This is how far I have gotten -
jq '.users[].first, .users[].last'
But it displays
"Stevie"
"Michael"
"Wonder"
"Jackson"
Notice the following -