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
I want to deserialize a response which includes Json-Data with deserialize to my defined object.. But i always get the following error. Am i doing something wrong or do i need to adjust the parameters?
Message: Expected: {, null
I'm also having this error. I'll need to come back with details, but generically, can anyone explain the circumstances when the deserializer would "expect" a null?
I want to deserialize a response which includes Json-Data with deserialize to my defined object.. But i always get the following error. Am i doing something wrong or do i need to adjust the parameters?
Message: Expected: {, null
var jsonText = result.Content.ReadAsStringAsync().Result;
elasticResponseArgs.ResponseText = jsonText;
Options options = new Options(false, false, false, DateTimeFormat.ISO8601, true, UnspecifiedDateTimeKindBehavior.IsUTC);
elasticResponseArgs.Json = JSON.Deserialize(jsonText, options);
Thanks,
The text was updated successfully, but these errors were encountered: