json
There are myriads of JSON libraries out there, and each may even have its reason to exist. Our class had these design goals:
Intuitive syntax. In languages such as Python, JSON feels like a first class data type. We used all the operator magic of modern C++ to achieve the same feeling in your code. Check out the examples below and you'll know what I mean.
Trivial integration. Our whole code consists of a single header file json.hpp. That's it. No library, no subproject, no dependencies, no complex build system. The class is written in vanilla C++11. All in all, everything should require no adjustment of your compiler flags or project settings.
Serious testing. Our code is heavily unit-tested and covers 100% of the code, including all exceptional behavior. Furthermore, we checked with Valgrind and the Clang Sanitizers that there are no memory leaks. Google OSS-Fuzz additionally runs fuzz tests against all parsers 24/7, effectively executing billions of tests so far.
Creator: Niels Lohmann
Stars ⭐️: 36.8k
Forked By: 6.3k
https://github.com/nlohmann/json
#JSON #C_plusplus
➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @datascience_bds for more cool repositories.
*This channel belongs to @bigdataspecialist group
Post #359
1.25K