Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0

Introduction :

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0, this error was coming due to bad format of  Json data during  json object deserialization.

JSON Deserializing fails: Newtonsoft.Json.JsonReaderException: ‘Unexpected character encountered while parsing value.

Newtonsoft.Json.JsonReaderException

Solution :

To avoid this error “Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0” need well format Json data/string during  parsing of Json string.

 

Leave a Reply

Your email address will not be published. Required fields are marked *