This package provides 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.
Installation and loadingInstall the released package version from CRAN
install.packages("rjsoncons", repos = "https://CRAN.R-project.org")
Install the development version with
if (!requireNamespace("remotes", quiety = TRUE))
install.packages("remotes", repos = "https://CRAN.R-project.org")
remotes::install_github("mtmorgan/rjsoncons")
Attach the installed package to your R session with
Use casesThe introductory vignette outlines common use cases, including:
The jsoncons C++ header-only library is a very useful starting point for advanced JSON manipulation. The vignette outlines how rjsoncons can be used by other R packages wishing to access the C++ library.
Next stepsSee the introductory vignette for additional details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4