mirror of
https://github.com/nlohmann/json.git
synced 2024-08-22 13:02:28 +02:00
13 lines
306 B
C++
13 lines
306 B
C++
|
#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;
|
||
|
}
|