mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 13:02:25 +02:00
Added JsonArrayIterator (tests are failing)
This commit is contained in:
@ -6,13 +6,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "JsonValue.h"
|
||||
#include "JsonArrayIterator.h"
|
||||
|
||||
namespace ArduinoJson
|
||||
{
|
||||
namespace Parser
|
||||
{
|
||||
class JsonHashTable;
|
||||
|
||||
|
||||
class JsonArray
|
||||
{
|
||||
public:
|
||||
@ -40,6 +41,16 @@ namespace ArduinoJson
|
||||
return value[index];
|
||||
}
|
||||
|
||||
JsonArrayIterator begin()
|
||||
{
|
||||
return JsonArrayIterator(value);
|
||||
}
|
||||
|
||||
JsonArrayIterator end()
|
||||
{
|
||||
return JsonArrayIterator();
|
||||
}
|
||||
|
||||
DEPRECATED int getLength()
|
||||
{
|
||||
return size();
|
||||
|
Reference in New Issue
Block a user