JSON for Modern C++ 3.11.3 (#4222)

This commit is contained in:
Niels Lohmann
2023-11-28 22:36:31 +01:00
committed by GitHub
parent 1d597743d8
commit 9cca280a4d
159 changed files with 242 additions and 246 deletions

View File

@@ -1,6 +1,6 @@
// __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ (supporting code)
// | | |__ | | | | | | version 3.11.2
// | | |__ | | | | | | version 3.11.3
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
@@ -18,14 +18,14 @@ TEST_CASE("version information")
json j = json::meta();
CHECK(j["name"] == "JSON for Modern C++");
CHECK(j["copyright"] == "(C) 2013-2022 Niels Lohmann");
CHECK(j["copyright"] == "(C) 2013-2023 Niels Lohmann");
CHECK(j["url"] == "https://github.com/nlohmann/json");
CHECK(j["version"] == json(
{
{"string", "3.11.2"},
{"string", "3.11.3"},
{"major", 3},
{"minor", 11},
{"patch", 2}
{"patch", 3}
}));
CHECK(j.find("platform") != j.end());