Parse empty array

This commit is contained in:
Benoit Blanchon committed 2014-10-14 17:16:21 +02:00
1 parent c7dcf864cc
commit f468db6757
4 files changed
+24 -1

No files matched your search

+5
View File
@@ -18,4 +18,9 @@ JsonNode* JsonBuffer::createNode()
if (!node) return 0;
return new (node) JsonNode();
}
JsonArray JsonBuffer::parseArray(char const *string)
{
return JsonArray();
}
+2
View File
@@ -27,6 +27,8 @@ public:
JsonValue createValue();
JsonArray parseArray(char const *string);
protected:
virtual void* allocateNode() = 0;
+2 -1
View File
@@ -38,4 +38,5 @@ protected:
private:
JsonNode _buffer[CAPACITY];
int _size;
};
};