ndjson: Wicked-Fast Streaming 'JSON' ('ndjson') Reader (original) (raw)

Streaming 'JSON' ('ndjson') has one 'JSON' record per-line and many modern 'ndjson' files contain large numbers of records. These constructs may not be columnar in nature, but it is often useful to read in these files and "flatten" the structure out to enable working with the data in an R 'data.frame'-like context. Functions are provided that make it possible to read in plain 'ndjson' files or compressed ('gz') 'ndjson' files and either validate the format of the records or create "flat" 'data.table' structures from them.

Version: 0.9.1
Depends: R (≥ 3.2.0)
Imports: Rcpp, data.table, tibble
LinkingTo: Rcpp
Suggests: tinytest, covr
Published: 2025-03-06
DOI: 10.32614/CRAN.package.ndjson
Author: Bob Rudis ORCID iD [aut, cre], Niels Lohmann [aut] (C++ json parser), Deepak Bandyopadhyay [aut] (C++ gzstream), Lutz Kettner [aut] (C++ gzstream), Neal Fultz [ctb] (Rcpp integration), Maarten Demeyer [ctb] (dtplyr cleanup)
Maintainer: Bob Rudis
BugReports: https://github.com/hrbrmstr/ndjson/issues
License: MIT + file
URL: https://github.com/hrbrmstr/ndjson
NeedsCompilation: yes
SystemRequirements: zlib, C++17
Materials:
In views: WebTechnologies
CRAN checks: ndjson results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=ndjsonto link to this page.