forked from bblanchon/ArduinoJson
25 lines
403 B
C++
25 lines
403 B
C++
#pragma once
|
|
|
|
#include "JsonContainer.h"
|
|
|
|
class JsonValue;
|
|
struct JsonNode;
|
|
|
|
class JsonObject : public JsonContainer
|
|
{
|
|
public:
|
|
JsonObject()
|
|
{
|
|
}
|
|
|
|
explicit JsonObject(JsonNode* node)
|
|
: JsonContainer(node)
|
|
{
|
|
}
|
|
|
|
JsonValue operator[](const char* key);
|
|
void remove(const char* key);
|
|
|
|
private:
|
|
JsonNode* getOrCreateNodeAt(char const* key);
|
|
}; |