Parse empty array with leading spaces

This commit is contained in:
Benoit Blanchon committed 2014-10-14 18:01:49 +02:00
1 parent 081b345e7c
commit 81f3460806
2 files changed
+10

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ JsonArray JsonBuffer::parseArray(const char* json)
{
JsonNode* root;
while(*json == ' ') json++;
if (json[0] == '[')
{
root = createNode();