Test that adding values to the JsonObject increase the size of the buffer

This commit is contained in:
Benoit Blanchon
2014-09-27 12:16:20 +02:00
parent 4d4119e589
commit 166bdd6919
8 changed files with 74 additions and 17 deletions

15
srcs/JsonBuffer.cpp Normal file
View File

@ -0,0 +1,15 @@
#include "JsonBuffer.h"
//#include "JsonNode.h"
#include "JsonObject.h"
JsonObject JsonBuffer::createObject()
{
allocateNode();
return JsonObject(this);
}
void JsonBuffer::createNode()
{
allocateNode();
}