How to pipe with jq. Make sure to include a pattern: jq . < text.json | tee results.json NOT jq < text.json | tee results.json