From f81695a0160bb106f0041dd66969f4497d4d83dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Tue, 1 Sep 2015 10:27:14 +0200 Subject: [PATCH] Updated Examples (markdown) --- Examples.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Examples.md b/Examples.md index 17deac8..59012a6 100644 --- a/Examples.md +++ b/Examples.md @@ -72,7 +72,8 @@ for(JsonArray::iterator it=array.begin(); it!=array.end(); ++it) ``` ```c++ -JsonObject& object; +char json[] = "{\"key\":\"value\"}"; +JsonObject& object = jsonBuffer.parseObject(json); for(JsonObject::iterator it=object.begin(); it!=object.end(); ++it) {