mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Huge refactoring in progress...
This commit is contained in:
@@ -17,21 +17,12 @@ class JsonBuffer {
|
||||
public:
|
||||
virtual ~JsonBuffer() {}
|
||||
|
||||
JsonArray createArray();
|
||||
JsonObject createObject();
|
||||
JsonValue createValue();
|
||||
JsonArray &createArray();
|
||||
JsonObject &createObject();
|
||||
|
||||
template <typename T>
|
||||
JsonValue createValue(T x) {
|
||||
JsonValue value;
|
||||
value = x;
|
||||
return value;
|
||||
}
|
||||
JsonArray &parseArray(char *json);
|
||||
JsonObject &parseObject(char *json);
|
||||
|
||||
JsonArray parseArray(char* json);
|
||||
JsonObject parseObject(char* json);
|
||||
JsonValue parseValue(char* json);
|
||||
|
||||
virtual void* alloc(size_t size) = 0;
|
||||
virtual void *alloc(size_t size) = 0;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user