We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I would like to request that jq.node support JSON lines or simply a stream of \n separated records.
\n
jq has support for this as follows:
$ echo -e '{"foo": "bar"}\n{"baz": "qux"}' | jq '.' { "foo": "bar" } { "baz": "qux" }
While jq.node (aliased to jqn) has an error:
$ echo -e '{"foo": "bar"}\n{"baz": "qux"}' | jqn undefined:2 {"baz": "qux"} ^ SyntaxError: Unexpected token { in JSON at position 15
This support is very useful for things like bunyan style logs.
Thanks in advance for looking!
The text was updated successfully, but these errors were encountered:
Hello @mlucool, indeed, your issue is a duplicate of #6 :)
I will happily accept a PR for it! Closing
Sorry, something went wrong.
Lol we even had the same example....maybe I should read the other issues next time
@mlucool the issue did not had a description when you posted yours, I just copy/pasted yours and adapted it, so thanks haha ^^
👍
No branches or pull requests
Hi,
I would like to request that jq.node support JSON lines or simply a stream of
\n
separated records.jq has support for this as follows:
While jq.node (aliased to jqn) has an error:
This support is very useful for things like bunyan style logs.
Thanks in advance for looking!
The text was updated successfully, but these errors were encountered: