fix unicode mangling

This commit is contained in:
Akash Mozumdar 2020-12-14 10:37:54 -07:00
parent 4783469a0a
commit 457aed96c2

View File

@ -45,7 +45,7 @@ namespace JSON
int i = 0; int i = 0;
for (; i < text.size(); ++i) for (; i < text.size(); ++i)
{ {
char ch = text[i]; auto ch = text[i];
if (ch == '"') return { unescaped, i + 1 }; if (ch == '"') return { unescaped, i + 1 };
if (ch == '\\') if (ch == '\\')
{ {