mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-10-28 05:01:38 +01:00
Reduced usages of EscapedString
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "JsonValue.h"
|
||||
|
||||
using namespace ArduinoJson::Generator;
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
JsonValue JsonValue::nullInstance;
|
||||
|
||||
@@ -30,5 +31,5 @@ size_t JsonValue::printPrintableTo(const Content& c, Print& p)
|
||||
|
||||
size_t JsonValue::printStringTo(const Content& c, Print& p)
|
||||
{
|
||||
return c.asString.printTo(p);
|
||||
return EscapedString(c.asString).printTo(p);
|
||||
}
|
||||
Reference in New Issue
Block a user