mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
25 lines
595 B
C++
25 lines
595 B
C++
// Copyright Benoit Blanchon 2014
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
#pragma once
|
|
|
|
#include "Arduino/Printable.hpp"
|
|
#include "Internals/IndentedPrint.hpp"
|
|
|
|
namespace ArduinoJson {
|
|
|
|
// TODO: renale to JsonPrintable
|
|
class JsonContainer : public Printable {
|
|
public:
|
|
size_t printTo(char *buffer, size_t bufferSize) const;
|
|
virtual size_t printTo(Print &print) const;
|
|
|
|
size_t prettyPrintTo(char *buffer, size_t bufferSize) const;
|
|
size_t prettyPrintTo(Internals::IndentedPrint &print) const;
|
|
size_t prettyPrintTo(Print &print) const;
|
|
};
|
|
}
|