I have this json object like this :
[ {
"name": "ACCOUNT-V1",
"version": "1.3.0"
},
{
"name": "IDENTIFIER-V1",
"version": "1.1.0"
},
{
"name": "LOCATION-V1",
"version": "1.6.0"
}
]
I'd like to parse and print like this
ACCOUNT-V1 1.3.0
IDENTIFIER-V1 1.1.0
LOCATION-V1 1.6.0
tried with
cat json_content.json | jq ' .[] | .name .version'
just getting empty array [] in output