Package: rjsoncons 1.3.3

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

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' <https://danielaparker.github.io/jsoncons/> header-only library; the library is easily linked to other packages for direct access to 'C++' functionality not implemented here.

Authors:Martin Morgan [aut, cre], Marcel Ramos [aut], Daniel Parker [aut, cph]

rjsoncons_1.3.3.tar.gz
rjsoncons_1.3.3.zip(r-4.7)rjsoncons_1.3.3.zip(r-4.6)rjsoncons_1.3.3.zip(r-4.5)
rjsoncons_1.3.3.tgz(r-4.6-x86_64)rjsoncons_1.3.3.tgz(r-4.6-arm64)rjsoncons_1.3.3.tgz(r-4.5-x86_64)rjsoncons_1.3.3.tgz(r-4.5-arm64)
rjsoncons_1.3.3.tar.gz(r-4.7-arm64)rjsoncons_1.3.3.tar.gz(r-4.7-x86_64)rjsoncons_1.3.3.tar.gz(r-4.6-arm64)rjsoncons_1.3.3.tar.gz(r-4.6-x86_64)
rjsoncons_1.3.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rjsoncons/json (API)
NEWS

# Install 'rjsoncons' in R:
install.packages('rjsoncons', repos = c('https://mtmorgan.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mtmorgan/rjsoncons/issues

Pkgdown/docs site:https://mtmorgan.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

6.36 score 8 stars 14 packages 9 scripts 1.4k downloads 19 exports 11 dependencies

Last updated from:339558a4a0. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK231
linux-devel-x86_64OK229
source / vignettesOK367
linux-release-arm64OK224
linux-release-x86_64OK253
macos-release-arm64OK179
macos-release-x86_64OK386
macos-oldrel-arm64OK203
macos-oldrel-x86_64OK493
windows-develOK243
windows-releaseOK256
windows-oldrelOK261
wasm-releaseOK145

Exports:as_rj_data_typej_find_keysj_find_keys_grepj_find_valuesj_find_values_grepj_flattenj_patch_applyj_patch_fromj_patch_opj_path_typej_pivotj_queryj_schema_is_validj_schema_validatejmespathjsonpathjsonpointerversion

Dependencies:clicpp11gluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrs

Transform and Validate JSON and NDJSON

Rendered froma_rjsoncons.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2024-06-28
Started: 2024-01-26

Readme and manuals

Help Manual

Help pageTopics
Parse JSON or NDJSON to Ras_r
Detect JSON and NDJSON data and path typesj_data_type j_path_type
Flatten and find keys or values in JSON or NDJSON documentsflatten_NDJSON j_find_keys j_find_keys_grep j_find_values j_find_values_grep j_flatten
Patch or compute the difference between two JSON documentsc.j_patch_op j_patch_apply j_patch_from j_patch_op j_patch_op.default j_patch_op.j_patch_op print.j_patch_op
Query and pivot JSON and NDJSON documentsj_pivot j_query
Validate JSON documents against JSON Schemaj_schema_is_valid j_schema_validate
JSONpath, JMESpath, or JSONpointer query of JSON / NDJSON documents; use 'j_query()' insteadjmespath jsonpath jsonpointer
Version of jsoncons C++ libraryversion