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) {