mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Parse empty array with leading spaces
This commit is contained in:
@@ -22,6 +22,8 @@ JsonArray JsonBuffer::parseArray(const char* json)
|
||||
{
|
||||
JsonNode* root;
|
||||
|
||||
while(*json == ' ') json++;
|
||||
|
||||
if (json[0] == '[')
|
||||
{
|
||||
root = createNode();
|
||||
|
||||
Reference in New Issue
Block a user