Moved implementation is a new folder

This commit is contained in:
Benoît Blanchon
2014-07-01 13:50:54 +02:00
parent 4d5a7114c1
commit a9b8e280fe
11 changed files with 24 additions and 22 deletions

View File

@ -0,0 +1,24 @@
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#pragma once
#include "JsonValue.h"
#include "Print.h"
#include "Printable.h"
class JsonObjectBase : public Printable
{
public:
size_t writeTo(char* buffer, size_t bufferSize)
{
StringBuilder sb(buffer, bufferSize);
return writeTo(sb);
}
virtual size_t writeTo(Print& p) const = 0;
};