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