1config BR2_PACKAGE_JSON_FOR_MODERN_CPP 2 bool "json-for-modern-cpp" 3 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 4 depends on BR2_INSTALL_LIBSTDCPP 5 help 6 Json for modern c++ has the following desing goals in mind: 7 8 - Intuitive syntax. In languages such as Python, JSON feels 9 like a first class data type. All the operator magic of 10 modern C++ is used to achieve the same feeling in c++. 11 12 - Trivial integration. The whole code consists of a single 13 header file json.hpp. That's it. No library, no 14 subproject, no dependencies, no complex build system. The 15 class is written in vanilla C++11. All in all, everything 16 should require no adjustment of compiler flags or project 17 settings. 18 19 - Serious testing. The class is heavily unit-tested and 20 covers 100% of the code, including all exceptional 21 behavior. Furthermore, it is checked with Valgrind that 22 there are no memory leaks. To maintain high quality, the 23 project is following the Core Infrastructure Initiative 24 (CII) best practices. 25 26 https://github.com/nlohmann/json 27 28comment "json-for-modern-cpp needs a toolchain w/ C++, gcc >= 4.9" 29 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 30