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