Re:JSON for Modern C++
by gumby on Sunday September 29, 2019 @02:12PM
(#21108633)
I switched from rapidjson to this library (nlohmann's) because it is so simple to use and integrates into C++ very cleanly.
If I had enormous globs of JSON to read I might use something faster (I believe there's a very fast library that uses SIMD instructions) but my needs are quite limited: basically exchanging snippets of JSON with a network service. So clarity was far more important than performance.
If I had enormous globs of JSON to read I might use something faster (I believe there's a very fast library that uses SIMD instructions) but my needs are quite limited: basically exchanging snippets of JSON with a network service. So clarity was far more important than performance.