mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 00:38:26 +01:00
Moved IndentedPrint into the namespace ArduinoJson::Generator
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#include "IndentedPrint.h"
|
#include "IndentedPrint.h"
|
||||||
|
|
||||||
|
using namespace ArduinoJson::Generator;
|
||||||
|
|
||||||
void IndentedPrint::indent()
|
void IndentedPrint::indent()
|
||||||
{
|
{
|
||||||
if (level<127)
|
if (level<127)
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
#include "Print.h"
|
#include "Print.h"
|
||||||
|
|
||||||
|
namespace ArduinoJson
|
||||||
|
{
|
||||||
|
namespace Generator
|
||||||
|
{
|
||||||
class IndentedPrint : public Print
|
class IndentedPrint : public Print
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -30,4 +34,6 @@ private:
|
|||||||
|
|
||||||
size_t writeTabs();
|
size_t writeTabs();
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user