mirror of
https://github.com/nlohmann/json.git
synced 2025-08-06 07:02:42 +03:00
Deployed fe4b663
with MkDocs version: 1.4.2
This commit is contained in:
12
examples/nlohmann_json_version.cpp
Normal file
12
examples/nlohmann_json_version.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user