I have a file that looks as below:
{ \"repositories\": [ { \"id\": \"156c48fc-f208-43e8-a631-4d12deb89fa4\", \"namespace\": \"rhel12\", \"namesp
You want to look at the repositories array instead of treating the input as an array:
$ jq -r '.repositories[].name' file rhel6.6 rhel7