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