Renamed all .h files into .hpp (so that Sublime Text selects C++ syntax)

This commit is contained in:
Benoit Blanchon
2014-10-19 15:46:36 +02:00
parent 074c39ca5b
commit 0daf82eee2
49 changed files with 91 additions and 132 deletions

View File

@ -0,0 +1,29 @@
#pragma once
#include "JsonContainer.hpp"
namespace ArduinoJson
{
class JsonObject : public JsonContainer
{
public:
JsonObject()
{
}
explicit JsonObject(Internals::JsonNode* node)
: JsonContainer(node)
{
}
JsonValue operator[](const char* key);
void remove(const char* key);
JsonArray createNestedArray(const char* key);
JsonObject createNestedObject(const char* key);
private:
Internals::JsonNode* getOrCreateNodeAt(const char* key);
};
}