From 2443aa6521349ee3d9fa44f633fca8cb9f26184f Mon Sep 17 00:00:00 2001 From: Niels Date: Fri, 9 Jan 2015 17:50:50 +0100 Subject: [PATCH] updated README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 203f1134..34b53ce4 100644 --- a/README.md +++ b/README.md @@ -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):