iw4x-client/deps/json/docs/examples/nlohmann_json_version.cpp

13 lines
306 B
C++
Raw Normal View History

2024-03-07 05:13:50 -05:00
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main()
{
std::cout << "JSON for Modern C++ version "
<< NLOHMANN_JSON_VERSION_MAJOR << "."
<< NLOHMANN_JSON_VERSION_MINOR << "."
<< NLOHMANN_JSON_VERSION_PATCH << std::endl;
}