jq '.' formatted json file back to original json format using jq jq '.' formatted json file back to original json format using jq json json

jq '.' formatted json file back to original json format using jq


Just use the --compact-output / -c option:

cat file | jq -c

(or, without feline abuse: jq -c '.' file)