1
0
mirror of https://github.com/nlohmann/json synced 2024-12-26 18:41:03 +00:00

updated README

This commit is contained in:
Niels 2015-01-09 17:50:50 +01:00
parent 33f5236687
commit 2443aa6521

View File

@ -119,7 +119,11 @@ auto j2 = R"(
{
"happy": true,
"pi": 3.141
})"_json;
}
)"_json;
// or explicitly
auto j3 = json::parse("{ \"happy\": true, \"pi\": 3.141 }");
```
You can also get a string representation (serialize):