This commit is contained in:
nlohmann committed 2026-10-26 21:24:35 +00:00
1 parent 41c601a7d1
commit d2e264bd84
1400 files changed
+11859 -5440

No files matched your search

+3 -3
View File
@@ -22,7 +22,7 @@ Whether parsing should proceed.
#include <sstream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using nlohmann::json;
// a simple event consumer that collects string representations of the passed
// values; note inheriting from json::json_sax_t is not required, but can
@@ -114,7 +114,7 @@ Whether parsing should proceed.
int main()
{
// a JSON text
auto text = R"(
const auto* text = R"(
{
"Image": {
"Width": 800,
@@ -146,7 +146,7 @@ Whether parsing should proceed.
}
// output the result of sax_parse
std::cout << "\nresult: " << std::boolalpha << result << std::endl;
std::cout << "\nresult: " << std::boolalpha << result << '\n';
}
```