This commit is contained in:
nlohmann
2026-10-26 21:24:35 +00:00
parent 41c601a7d1
commit d2e264bd84
1400 changed files with 11859 additions and 5440 deletions
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -117,7 +117,7 @@ depends on whether [`nlohmann::json`](https://json.nlohmann.me/api/json/index.md
#include <iomanip>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using nlohmann::json;
int main()
{
@@ -127,7 +127,7 @@ int main()
nlohmann::ordered_json oj1 = {{"version", 1}, {"type", "integer"}};
nlohmann::ordered_json oj2 = {{"type", "integer"}, {"version", 1}};
std::cout << std::boolalpha << (uj1 == uj2) << '\n' << (oj1 == oj2) << std::endl;
std::cout << std::boolalpha << (uj1 == uj2) << '\n' << (oj1 == oj2) << '\n';
}
```
@@ -148,7 +148,7 @@ The example demonstrates comparing several JSON types.
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using nlohmann::json;
int main()
{
@@ -188,7 +188,7 @@ The example demonstrates comparing several JSON types against the null pointer (
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using nlohmann::json;
int main()
{