Test JsonObject::prettyPrintTo()

This commit is contained in:
Benoit Blanchon
2014-10-07 11:58:59 +02:00
parent 7a40711af3
commit e28119f03b
7 changed files with 126 additions and 6 deletions

View File

@ -8,6 +8,7 @@ struct JsonNode;
class JsonObject : public JsonContainer
{
public:
JsonObject()
{
}
@ -20,6 +21,8 @@ public:
JsonValue operator[](const char* key);
void remove(const char* key);
JsonObject createNestedObject(const char* key);
private:
JsonNode* getOrCreateNodeAt(char const* key);
};