Renamed JsonObjectBase into JsonPrintable

This commit is contained in:
Benoît Blanchon
2014-07-17 13:16:14 +02:00
parent 5e1697f47b
commit 45c9ba1191
7 changed files with 15 additions and 15 deletions

View File

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