mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 20:42:24 +02:00
29 lines
447 B
C++
29 lines
447 B
C++
/*
|
|
* Arduino JSON library
|
|
* Benoit Blanchon 2014 - MIT License
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Print.h"
|
|
|
|
namespace ArduinoJson
|
|
{
|
|
namespace Internals
|
|
{
|
|
class EscapedString
|
|
{
|
|
public:
|
|
|
|
void set(const char* s)
|
|
{
|
|
rawString = s;
|
|
}
|
|
|
|
size_t printTo(Print&) const;
|
|
|
|
private:
|
|
const char* rawString;
|
|
};
|
|
}
|
|
} |