forked from bblanchon/ArduinoJson
Renamed JsonObjectBase into JsonPrintable
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -13,7 +13,7 @@ namespace ArduinoJson
|
||||
{
|
||||
namespace Generator
|
||||
{
|
||||
class JsonObjectBase : public Printable
|
||||
class JsonPrintable : public Printable
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user