mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 04:52:22 +02:00
20 lines
333 B
C
20 lines
333 B
C
![]() |
/*
|
||
|
* Arduino JSON library
|
||
|
* Benoit Blanchon 2014 - MIT License
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
class JsonSink
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
virtual void append(char c) = 0;
|
||
|
virtual void append(const char* s) = 0;
|
||
|
|
||
|
virtual bool hasRoomFor(int n) = 0;
|
||
|
virtual void reserveRoom(int n) = 0;
|
||
|
virtual void releaseRoom(int n) = 0;
|
||
|
};
|
||
|
|