mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-14 01:54:48 +02:00
Updated Examples (markdown)
@@ -57,7 +57,8 @@ getting the data on JSON format and parsing the buffer:
|
|||||||
## Example 3: iterators
|
## Example 3: iterators
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
JsonArray& array;
|
char json[] = "[\"A\",\"B\",\"C\"]";
|
||||||
|
JsonArray& array = jsonBuffer.parseArray(json);
|
||||||
|
|
||||||
for(JsonArray::iterator it=array.begin(); it!=array.end(); ++it)
|
for(JsonArray::iterator it=array.begin(); it!=array.end(); ++it)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user