rjsoncons 1.2.0 CRAN released
https://mtmorgan.github.io/rjsoncons
The rjsoncons package has R functions to query (j_query()) and
import into R data.frame-like structures (j_pivot()) JSON and
NDJSON files. The package makes the ‘jsoncons’
(https://danielaparker.github.io/jsoncons/) C++ library available to
other packages.
Version 1.2.0 introduces significant new capabilities.
j_query()replacesjmespath(),jsonpath(), andjsonpointer().j_query()looks at the format ofpathto deduce format.j_pivot()helps transform Java-centric ‘array-of-objects’ to R-friendly ‘object-of-arrays’ format.- NDJSON (new-line delimited JSON) support; performance on queries is
competitive with
jqand other tools (see this blog post for details). - Support for R connections (e.g.,
gzfile(),url()).