This commit is contained in:
nlohmann committed 2024-12-10 08:42:33 +00:00
1 parent b014c90f94
commit ab14172173
270 files changed
+1412 -1034

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#include <nlohmann/json.hpp>
#include <iostream>
#include <iomanip>
using json = nlohmann::json;
int main()
{
std::cout << std::setw(4) << json::meta() << std::endl;
}
+12
View File
@@ -0,0 +1,12 @@
project('json_example', 'cpp',
version: '1.0',
default_options: ['cpp_std=c++11']
)
dependency_json = dependency('nlohmann_json', required: true)
executable('json_example',
sources: ['example.cpp'],
dependencies: [dependency_json],
install: true
)