Package: rjsoncons 1.3.1.9100

Martin Morgan

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.1.9100.tar.gz
rjsoncons_1.3.1.9100.zip(r-4.5)rjsoncons_1.3.1.9100.zip(r-4.4)rjsoncons_1.3.1.9100.zip(r-4.3)
rjsoncons_1.3.1.9100.tgz(r-4.4-x86_64)rjsoncons_1.3.1.9100.tgz(r-4.4-arm64)rjsoncons_1.3.1.9100.tgz(r-4.3-x86_64)rjsoncons_1.3.1.9100.tgz(r-4.3-arm64)
rjsoncons_1.3.1.9100.tar.gz(r-4.5-noble)rjsoncons_1.3.1.9100.tar.gz(r-4.4-noble)
rjsoncons_1.3.1.9100.tgz(r-4.4-emscripten)rjsoncons_1.3.1.9100.tgz(r-4.3-emscripten)
rjsoncons.pdf |rjsoncons.html
rjsoncons/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

19 exports 9 stars 3.28 score 12 dependencies 8 dependents 8 scripts 925 downloads

Last updated 6 days agofrom:cd09787e41. Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 10 2024
R-4.5-win-x86_64OKSep 10 2024
R-4.5-linux-x86_64OKSep 10 2024
R-4.4-win-x86_64OKSep 10 2024
R-4.4-mac-x86_64OKSep 10 2024
R-4.4-mac-aarch64OKSep 10 2024
R-4.3-win-x86_64OKSep 10 2024
R-4.3-mac-x86_64OKSep 10 2024
R-4.3-mac-aarch64OKSep 10 2024

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:clicpp11fansigluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrs

Transform and Validate JSON and NDJSON

Rendered froma_rjsoncons.Rmdusingknitr::rmarkdownon Sep 10 2024.

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