DeAI Research
Source ·

rjsoncons: Query, Pivot, Patch, and Validate 'JSON' and 'NDJSON'

2022Martin T. Morgan; Marcel Ramos; Daniel Parker

cid 137fcf4fe467f7cc6fa5781c5fbf6ec12afeeea692f1731ea331b230ea0c86bf · original · open access · via openalex

Title: rjsoncons: Query, Pivot, Patch, and Validate 'JSON' and 'NDJSON'
Authors: Martin T. Morgan; Marcel Ramos; Daniel Parker
Venue: 
Year: 2022
Canonical: doi:10.32614/cran.package.rjsoncons
URL: https://doi.org/10.32614/cran.package.rjsoncons
Collector: openalex
OA: true

ABSTRACT
Functions to query (filter or transform), pivot (convert from array-of-objects to object-of-arrays, for easy import as 'R' data frame), search, patch (edit), and validate (against 'JSON Schema') 'JSON' and 'NDJSON' strings, files, or URLs. Query and pivot support 'JSONpointer', 'JSONpath' or 'JMESpath' expressions. The implementation uses the 'jsoncons' header-only library; the library is easily linked to other packages for direct access to 'C++' functionality not implemented here.