mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
28 lines
458 B
C++
28 lines
458 B
C++
// Copyright Benoit Blanchon 2014
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
#pragma once
|
|
|
|
#include "JsonValue.hpp"
|
|
|
|
namespace ArduinoJson {
|
|
class JsonArray;
|
|
class JsonObject;
|
|
|
|
class JsonBuffer {
|
|
public:
|
|
virtual ~JsonBuffer() {}
|
|
|
|
JsonArray &createArray();
|
|
JsonObject &createObject();
|
|
|
|
JsonArray &parseArray(char *json);
|
|
JsonObject &parseObject(char *json);
|
|
|
|
virtual void *alloc(size_t size) = 0;
|
|
};
|
|
}
|