Skip to content

Commit

Permalink
Merge pull request #2659 from abbaswasim/patch-1
Browse files Browse the repository at this point in the history
Fix amount of entries in the json object
  • Loading branch information
nlohmann committed Mar 23, 2021
2 parents 176d8e2 + ddbdb65 commit 098dd6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ bool foo = j.at(2);
j == "[\"foo\", 42, true, 1.78]"_json; // true
// other stuff
j.size(); // 3 entries
j.size(); // 4 entries
j.empty(); // false
j.type(); // json::value_t::array
j.clear(); // the array is empty again
Expand Down

0 comments on commit 098dd6b

Please sign in to comment.