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

@ -5,13 +5,13 @@
#pragma once
#include "JsonObjectBase.h"
#include "JsonPrintable.h"
namespace ArduinoJson
{
namespace Generator
{
class JsonArrayBase : public JsonObjectBase
class JsonArrayBase : public JsonPrintable
{
public:
JsonArrayBase(Internals::JsonValue* items, int capacity)
@ -39,7 +39,7 @@ namespace ArduinoJson
virtual size_t printTo(Print& p) const;
using JsonObjectBase::printTo;
using JsonPrintable::printTo;
private:
Internals::JsonValue* items;

View File

@ -5,14 +5,14 @@
#pragma once
#include "JsonObjectBase.h"
#include "JsonPrintable.h"
#include "EscapedString.h"
namespace ArduinoJson
{
namespace Generator
{
class JsonHashTableBase : public JsonObjectBase
class JsonHashTableBase : public JsonPrintable
{
public:
@ -36,7 +36,7 @@ namespace ArduinoJson
count++;
}
using JsonObjectBase::printTo;
using JsonPrintable::printTo;
virtual size_t printTo(Print& p) const;

View File

@ -13,7 +13,7 @@ namespace ArduinoJson
{
namespace Generator
{
class JsonObjectBase : public Printable
class JsonPrintable : public Printable
{
public: