1
0
mirror of https://github.com/nlohmann/json synced 2024-11-22 12:00:05 +00:00

Merge pull request #2625 from wawiesel/patch-1

Fix missing 1.78 in example in README.md
This commit is contained in:
Niels Lohmann 2021-02-07 14:26:38 +01:00 committed by GitHub
commit e754ef7087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -577,7 +577,7 @@ j[1] = 42;
bool foo = j.at(2);
// comparison
j == "[\"foo\", 42, true]"_json; // true
j == "[\"foo\", 42, true, 1.78]"_json; // true
// other stuff
j.size(); // 3 entries