coolbutuseless / yyjsonr

Fast JSON package for R
https://coolbutuseless.github.io/package/yyjsonr/index.html
Other
122 stars 8 forks source link

Support for `jsonlines` #51

Open sebastian-c opened 3 weeks ago

sebastian-c commented 3 weeks ago

One nice way to stream json is to use jsonlines: https://jsonlines.org/. It reduces the total size and makes parsing into a table something that can be done at the same time as reading from the connection.

As far as I can tell, this package doesn't support it, but it would be really nice to read them through a connection.

coolbutuseless commented 3 weeks ago

I'm not sure how 'jsonlines' is different from 'ndjson' (which yyjsonr supports).

Could you perhaps link to a small example of what you're trying to parse?