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

Fix missing 1.78 in example in README.md

This commit is contained in:
William A. Wieselquist 2021-02-06 14:48:12 -05:00 committed by GitHub
parent 6d4eed5aeb
commit 567e2e3412
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