mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-23 23:37:37 +02:00
Parse empty array
This commit is contained in:
@ -18,4 +18,9 @@ JsonNode* JsonBuffer::createNode()
|
||||
if (!node) return 0;
|
||||
|
||||
return new (node) JsonNode();
|
||||
}
|
||||
|
||||
JsonArray JsonBuffer::parseArray(char const *string)
|
||||
{
|
||||
return JsonArray();
|
||||
}
|
@ -27,6 +27,8 @@ public:
|
||||
|
||||
JsonValue createValue();
|
||||
|
||||
JsonArray parseArray(char const *string);
|
||||
|
||||
protected:
|
||||
virtual void* allocateNode() = 0;
|
||||
|
||||
|
@ -38,4 +38,5 @@ protected:
|
||||
private:
|
||||
JsonNode _buffer[CAPACITY];
|
||||
int _size;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user