1c5f01b2fSopenharmony_ci#include <iostream> 2c5f01b2fSopenharmony_ci#include <nlohmann/json.hpp> 3c5f01b2fSopenharmony_ci 4c5f01b2fSopenharmony_ciusing json = nlohmann::json; 5c5f01b2fSopenharmony_ci 6c5f01b2fSopenharmony_ciint main() 7c5f01b2fSopenharmony_ci{ 8c5f01b2fSopenharmony_ci std::cout << "JSON for Modern C++ version " 9c5f01b2fSopenharmony_ci << NLOHMANN_JSON_VERSION_MAJOR << "." 10c5f01b2fSopenharmony_ci << NLOHMANN_JSON_VERSION_MINOR << "." 11c5f01b2fSopenharmony_ci << NLOHMANN_JSON_VERSION_PATCH << std::endl; 12c5f01b2fSopenharmony_ci} 13