mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 03:52:16 +02: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