[Solved] What is the correct syntax for jq?


-f is for specifying a filename to read your “filter” from – the filter in this case being .sm_api_content

It sounds as if you just want to run jq without -f, e.g.

jq -r .sm_api_content JSON.txt

0

solved What is the correct syntax for jq?