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

ndjson support (or jsonl) #46

Open
jeromesimeon opened this issue Nov 8, 2017 · 1 comment
Open

ndjson support (or jsonl) #46

jeromesimeon opened this issue Nov 8, 2017 · 1 comment

Comments

@jeromesimeon
Copy link

This is a feature request rather than a bug report. I'm wondering if there is any interest in supporting new-line delimited JSON representations (e.g.,nsjson or jsonl) which are very useful formats when dealing with large collections of JSON or for communication.

@mjambon
Copy link
Member

mjambon commented Jun 2, 2018

Sorry for the late reply.

For reading, you can use the stream_from_... functions. They support whitespace-separated json values, which includes a one-value-per-line format.

For writing, simply use the normal printing functions, not the the prettifying ones.

Tagging this issue as a documentation request.

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

No branches or pull requests

2 participants