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
)
Just use the --compact-output
/ -c
option:
cat file | jq -c
(or, without feline abuse: jq -c '.' file
)