Posts

Showing posts from February 9, 2019

Unexpected character encountered while parsing value: {. Path '', line 1, position 1. at...

Image
0 I'm facing the following error message while trying to convert json string from a http response to a object: Exception: Unexpected character encountered while parsing value: {. Path '', line 1, position 1. at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x002d8] in :0 at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in :0 at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x000c2] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in :0 at Newtonsoft.Json.JsonSerializer.DeserializeI