[Rcpp-devel] Manipulating json with Rcpp

Dirk Eddelbuettel edd at debian.org
Thu Oct 11 21:18:04 CEST 2018


On 11 October 2018 at 11:50, Neal Fultz wrote:
| I recently needed to deal with json on the C++ side of things, and found
| the nlohmann json library.
| 
| I made a small wrapper package: https://github.com/nfultz/RcppJson

Cool.

| I was pleasantly surprised how easy it was to make a header-only package
| (by cannabalizing BH and copying the hpp file to inst/include).

Why?  Is LinkingTo: BH not good enough?
| 
| Maybe someone else will find this useful some day.

There are also R (at least) cpp-using package ndjson and validatejsonr on CRAN.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list