Commit 2443aa65 authored by Niels's avatar Niels

updated README

parent 33f52366
...@@ -119,7 +119,11 @@ auto j2 = R"( ...@@ -119,7 +119,11 @@ auto j2 = R"(
{ {
"happy": true, "happy": true,
"pi": 3.141 "pi": 3.141
})"_json; }
)"_json;
// or explicitly
auto j3 = json::parse("{ \"happy\": true, \"pi\": 3.141 }");
``` ```
You can also get a string representation (serialize): You can also get a string representation (serialize):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment