You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok this fix seems to work for me: Replace "anonymous string parsing" with function that does "known string parsing".
Before: { string str = json.Substring(1, json.Length - 2); return str.Replace("\\", string.Empty); }
after: { return ParseValue(typeof(string), json); }
topeterk
added a commit
to topeterk/HitCounterManager
that referenced
this issue
Aug 10, 2019
I cannot understand that
str.Replace("\\", string.Empty);
at 283 line in JSONParser.csWhen I try to parse
{"abc": "he\rllo"}
,I got{"abc": "herllo"}
The text was updated successfully, but these errors were encountered: