*Core: Json now properly escpes key strings

git-svn-id: svn://ultimatepp.org/upp/trunk@5297 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-08-29 06:35:13 +00:00
parent 15a12b9978
commit d4acb779ce

View file

@ -19,7 +19,7 @@ class Json {
Json& CatRaw(const char *key, const String& val) {
if(text.GetCount())
text << ',';
text << '\"' << key << "\":" << val;
text << AsJSON(key) << ":" << val;
return *this;
}