We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a26ed0 + e6991a9 commit 97a9f0dCopy full SHA for 97a9f0d
cppcon2025/cppcon_2025_slides.md
@@ -166,7 +166,7 @@ std::string to_json(Player& p) {
166
```cpp
167
object obj = val.get_object();
168
p.username = obj["username"].get_string();
169
-p.level = obj["username"].get_int64();
+p.level = obj["level"].get_int64();
170
p.health = obj["health"].get_double();
171
array arr = obj["inventory"].get_array();
172
for (auto item : arr) {
@@ -688,4 +688,4 @@ Daniel Lemire and Francisco Geiman Thiesen
688
689
GitHub: github.com/simdjson/simdjson
690
691
-Thank you!
+Thank you!
0 commit comments