Skip to content
New issue

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

jsonlines support #6

Open
eichin opened this issue Aug 30, 2016 · 0 comments
Open

jsonlines support #6

eichin opened this issue Aug 30, 2016 · 0 comments

Comments

@eichin
Copy link

eichin commented Aug 30, 2016

http://jsonlines.org/ is mostly a description of something people do anyway, namely "print json.dumps() is easier to parse than print" - it would be useful to have jsonpipe support this.

The trivial and useful (but horrible) shell workaround is

$ cat foo.jsonlines | while read -r J; do echo -n $J | jsonpipe; done

I'm suggesting either a -l option to explicitly say "restart the parser" or some implicit "the parser completed, start it with fresh state" mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant