1 #include <iostream> 2 3 #define NLOHMANN_JSON_NAMESPACE_NO_VERSION 1 4 #include <nlohmann/json.hpp> 5 6 // macro needed to output the NLOHMANN_JSON_NAMESPACE as string literal 7 #define Q(x) #x 8 #define QUOTE(x) Q(x) 9 main()10int main() 11 { 12 std::cout << QUOTE(NLOHMANN_JSON_NAMESPACE) << std::endl; 13 } 14