This commit is contained in:
nlohmann
2025-01-17 05:54:35 +00:00
parent 4ce072a05e
commit 9cd1c63d00
330 changed files with 5398 additions and 1012 deletions
File diff suppressed because one or more lines are too long
+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;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+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;
}
+8
View File
@@ -0,0 +1,8 @@
add_requires("nlohmann_json")
add_rules("mode.debug", "mode.release")
target("xm")
set_kind("binary")
add_files("example.cpp")
add_packages("nlohmann_json")
set_languages("cxx11")