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
{{ message }}
This repository has been archived by the owner on May 16, 2022. It is now read-only.
It doesn't matter what the target C# object is. The error is related to the gx\\" part, and the deserializer apparently can't identify the double-quote because of the escaped back-slash.
This yields the following error response:
System.AggregateException : One or more errors occurred.
----> Utf8Json.JsonParsingException : expected:',', actual:'a', at offset:40
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
.....
--JsonParsingException
at Utf8Json.JsonReader.ReadIsValueSeparatorWithVerify()
at Utf8Json.JsonReader.ReadIsEndObjectWithSkipValueSeparator(Int32& count)
If I modify the input JSON to:
{
"attr_x": "C:\\some gx\\"
}
the resulting error is:
System.AggregateException : One or more errors occurred.
----> Utf8Json.JsonParsingException : not found end string.
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
.....
--JsonParsingException
at Utf8Json.JsonReader.ReadNextCore(JsonToken token)
at Utf8Json.JsonReader.ReadNextBlockCore(Int32 stack)
In both cases, if I modify the gx\\" to gx" all the tests are green.
It doesn't matter what the target C# object is. The error is related to the
gx\\"
part, and the deserializer apparently can't identify the double-quote because of the escaped back-slash.This yields the following error response:
If I modify the input JSON to:
the resulting error is:
In both cases, if I modify the
gx\\"
togx"
all the tests are green.Originally posted by @brotherBear in https://github.com/neuecc/Utf8Json/issue_comments#issuecomment-432936975
The text was updated successfully, but these errors were encountered: