1 #pragma once 2 3 // restore clang diagnostic settings 4 #if defined(__clang__) 5 #pragma clang diagnostic pop 6 #endif 7 8 // clean up 9 #undef JSON_ASSERT 10 #undef JSON_INTERNAL_CATCH 11 #undef JSON_CATCH 12 #undef JSON_THROW 13 #undef JSON_TRY 14 #undef JSON_PRIVATE_UNLESS_TESTED 15 #undef JSON_HAS_CPP_11 16 #undef JSON_HAS_CPP_14 17 #undef JSON_HAS_CPP_17 18 #undef JSON_HAS_CPP_20 19 #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION 20 #undef NLOHMANN_BASIC_JSON_TPL 21 #undef JSON_EXPLICIT 22 23 #include <nlohmann/thirdparty/hedley/hedley_undef.hpp> 24