Added JsonObject::createNestedArray()

This commit is contained in:
Benoit Blanchon
2014-10-07 12:11:10 +02:00
parent e28119f03b
commit 09b6f71853
3 changed files with 32 additions and 19 deletions

View File

@ -2,6 +2,7 @@
#include "JsonContainer.h"
class JsonArray;
class JsonValue;
struct JsonNode;
@ -21,8 +22,10 @@ public:
JsonValue operator[](const char* key);
void remove(const char* key);
JsonArray createNestedArray(const char* key);
JsonObject createNestedObject(const char* key);
private:
JsonNode* getOrCreateNodeAt(char const* key);
JsonNode* getOrCreateNodeAt(const char* key);
JsonNode* createContainerNodeAt(const char* key, JsonNodeType type);
};