Hacker News new | ask | show | jobs
by sublinear 877 days ago
https://github.com/nlohmann/json

I used this for JSON last time I wrote any C++ a few years ago and it still seems popular. It seemed sane enough to me.

1 comments

Boost.JSON is arguably the better choice these days. It's roughly as usable as nlohmann but faster than RapidJSON

Overview: https://www.boost.org/doc/libs/1_84_0/libs/json/doc/html/jso...

Benchmarks: https://www.boost.org/doc/libs/1_84_0/libs/json/doc/html/jso...

Parsing Options for non-standard JSON: https://www.boost.org/doc/libs/1_84_0/libs/json/doc/html/jso...