Search code examples
c#jsonexceptionjson-deserialization

Unexpected JSON token while reading DataTable EndArray While Deserializing Object


While deserializing a JSON string to a specified type:

Unexpected JSON token while reading DataTable EndArray

can any one help me on this please?


Solution

  • Check your de-serializing class IncidentDetailContainer there must be some data table property which is not getting serialized.

    You need a class to represent the property which is of type Data Table.