https://github.com/symbolixau/rapidjsonr
R package exposing the rapidjsonr c++ header-only library
https://github.com/symbolixau/rapidjsonr
json r rapidjson rstats
Last synced: 8 months ago
JSON representation
R package exposing the rapidjsonr c++ header-only library
- Host: GitHub
- URL: https://github.com/symbolixau/rapidjsonr
- Owner: SymbolixAU
- License: other
- Created: 2017-12-16T04:42:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-20T23:26:39.000Z (about 2 years ago)
- Last Synced: 2025-04-09T00:42:16.007Z (about 1 year ago)
- Topics: json, r, rapidjson, rstats
- Language: C++
- Homepage:
- Size: 2.59 MB
- Stars: 16
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://CRAN.R-project.org/package=rapidjsonr)

[](https://CRAN.R-project.org/package=rapidjsonr)
[](https://github.com/SymbolixAU/rapidjsonr)
[](https://travis-ci.org/SymbolixAU/rapidjsonr)
[](https://codecov.io/github/SymbolixAU/rapidjsonr?branch=master)
# rapidjsonr
R interface to the C++ header-only [Rapidjson](https://github.com/Tencent/rapidjson) library
This package is using v1.2-beta build of rapidjson. This is necessary to overcome `gcc` compiler warnings on CRAN, which are [fixed in this patch](https://github.com/Tencent/rapidjson/pull/1323)
## Install
From CRAN
```
install.packages("rapidjsonr")
```
Install the development version with
```
devtools::install_github("SymbolixAU/rapidjsonr")
```
## Using rapidjsonr
To use `rapidjsonr` in your own package, add a dependency to `rapidjsonr` to your cpp files **before** a call to `#include `
```
// [[Rcpp::depends(rapidjsonr)]]
#include
```
## License
This package is provided under the MIT license, as per Rapidjson itself.