Re: [Rcpp-devel] Manipulating json with Rcpp

2018-10-11 Thread Dirk Eddelbuettel
On 11 October 2018 at 13:43, Neal Fultz wrote: | (Resending to list, sorry) | | | 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? | > | | I'm not using

Re: [Rcpp-devel] Manipulating json with Rcpp

2018-10-11 Thread Neal Fultz
(Resending to list, sorry) | 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? > I'm not using Boost for json, instead using this https://nlohmann.github.io/json/

Re: [Rcpp-devel] Manipulating json with Rcpp

2018-10-11 Thread Dirk Eddelbuettel
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