Closed franchb closed 8 months ago
Hi @franchb, thanks for this bug report!
This seems to be another bug related to using jaq without input filter.
For now, you can just use jaq '.'
instead of jaq
to make your use case work.
Oh, and if you want better file loading performance, use jaq '.' data.json
. That way, your file gets loaded via memory mapping, which is faster than reading from a pipe.
This is corrected now. Thanks again!
Hi!
Thank you for this interesting tool. I experiment with
jaq
occasionally. Today I caught a panic on some huge JSON feed.Steps for reproduce:
jaq
:If I pipe the same file in
jq
:jq parses this JSON feed and prints the output: