Use EscapedString for keys in JsonHashTable

This commit is contained in:
Benoît Blanchon
2014-07-07 13:48:50 +02:00
parent 1b62502b36
commit b3613f7137
4 changed files with 16 additions and 18 deletions

View File

@ -28,6 +28,5 @@ size_t JsonValue::printPrintableTo(const Content& c, Print& p)
size_t JsonValue::printStringTo(const Content& c, Print& p)
{
EscapedString s(c.asString);
return s.printTo(p);
return c.asString.printTo(p);
}