coolbutuseless / yyjsonr

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

Support for `jsonlines` #51

Open sebastian-c opened 3 months ago

sebastian-c commented 3 months 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 months 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?