From 8a2c8d913057552351b93205edbe20c5cb5f0423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Tue, 1 Sep 2015 10:26:27 +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 efde24e..17deac8 100644 --- a/Examples.md +++ b/Examples.md @@ -57,7 +57,8 @@ getting the data on JSON format and parsing the buffer: ## Example 3: iterators ```c++ -JsonArray& array; +char json[] = "[\"A\",\"B\",\"C\"]"; +JsonArray& array = jsonBuffer.parseArray(json); for(JsonArray::iterator it=array.begin(); it!=array.end(); ++it) {