minor changes

This commit is contained in:
Niels 2015-01-06 19:14:03 +01:00
parent d84f8ebb02
commit 08456b8ff0
2 changed files with 9 additions and 2 deletions

View file

@ -115,7 +115,11 @@ You can create an object (deserialization) by appending `_json` to a string lite
json j = "{ \"pi\": 3.141, \"happy\": true }"_json;
// or even nicer (thanks http://isocpp.org/blog/2015/01/json-for-modern-cpp)
auto j2 = R"( {"pi": 3.141, "happy": true} )"_json;
auto j2 = R"(
{
"pi": 3.141,
"happy": true
})"_json;
```
You can also get a string representation (serialize):