Made JsonNodeType private

This commit is contained in:
Benoit Blanchon
2014-10-09 14:31:25 +02:00
parent 1bff34a204
commit 0dce0022d3
3 changed files with 44 additions and 55 deletions

View File

@ -70,14 +70,4 @@ JsonNode* JsonObject::getOrCreateNodeAt(const char* key)
addChild(newKeyNode);
return newValueNode;
}
JsonNode* JsonObject::createContainerNodeAt(char const* key, JsonNodeType type)
{
JsonNode* node = getOrCreateNodeAt(key);
if (!node) return 0;
node->setAsArray(_node->getContainerBuffer());
return node;
}