Overwork documentation (#4516)

This commit is contained in:
Niels Lohmann authored and GitHub committed 2024-12-09 23:02:30 +01:00
1 parent 9f60e85557
commit 549c79ba7e
68 files changed
+1085 -335

No files matched your search

@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.15)
project(json_example)
find_package(nlohmann_json CONFIG REQUIRED)
add_executable(json_example example.cpp)
target_link_libraries(json_example PRIVATE nlohmann_json::nlohmann_json)
@@ -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;
}