Merge commit 'b9112977b074d67d6c83f04af36b6dabdf1d92c6' as 'external/json'
This commit is contained in:
12
external/json/docs/examples/nlohmann_json_version.cpp
vendored
Normal file
12
external/json/docs/examples/nlohmann_json_version.cpp
vendored
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