Right after asking this question I "realized" that the problem was the exact same as another I'd faced before.
I marked as duplicate and then tried outputting into a /tmp
file instead of the source I was using cat
on.
After I made the change I found that I was still getting the original error.
Original:
cat my.json | jq -S > my.json
Now trying:
cat my.json | jq -S > /tmp/my.json
I still get the same error. Should I open a new question?