Files
ArduinoJson/JsonGenerator/EscapedString.h
T

29 lines
447 B
C++
Raw Normal View History

2014-07-07 13:38:35 +02:00
/*
* Arduino JSON library
* Benoit Blanchon 2014 - MIT License
*/
#pragma once
#include "Print.h"
namespace ArduinoJson
2014-07-07 13:38:35 +02:00
{
namespace Internals
2014-07-07 13:48:50 +02:00
{
class EscapedString
{
public:
void set(const char* s)
{
rawString = s;
}
size_t printTo(Print&) const;
private:
const char* rawString;
};
2014-07-07 13:38:35 +02:00
}
}