forked from bblanchon/ArduinoJson
Added JsonGenerator example for Arduino
This commit is contained in:
1 parent
a9b8e280fe
commit
e8831c28d9
15 files changed
+99
-37
No files matched your search
@@ -5,12 +5,20 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef ARDUINO
|
||||
|
||||
class Print;
|
||||
|
||||
class Printable
|
||||
{
|
||||
public:
|
||||
|
||||
virtual size_t writeTo(Print& p) const = 0;
|
||||
virtual size_t printTo(Print& p) const = 0;
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
#include <Printable.h>
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user