简体   繁体   English

反序列化对象时读取 DataTable EndArray 时出现意外的 JSON 令牌

[英]Unexpected JSON token while reading DataTable EndArray While Deserializing Object

While deserializing a JSON string to a specified type:将 JSON 字符串反序列化为指定类型时:

Unexpected JSON token while reading DataTable EndArray读取 DataTable EndArray 时出现意外的 JSON 令牌

can any one help me on this please?任何人都可以帮助我吗?

Check your de-serializing class IncidentDetailContainer there must be some data table property which is not getting serialized.检查您的反序列化类IncidentDetailContainer必须有一些未序列化的数据表属性。

You need a class to represent the property which is of type Data Table.您需要一个类来表示数据表类型的属性。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 读取数据表时出现意外的 JSON 令牌 - Unexpected JSON token when reading DataTable 在保留封装的同时将JSON反序列化为.NET对象 - Deserializing JSON to a .NET object while preserving encapsulation 反序列化JSON对象时发生错误“解析值时遇到意外字符:&lt;。 路径”,第0行,位置0。” - Error when deserializing JSON object “Unexpected character encountered while parsing value: <. Path '', line 0, position 0.” 反序列化JSON输出时出错 - Error while Deserializing JSON output 反序列化时出现异常 JSON - Get exception while deserializing JSON Newtonsoft.Json-反序列化大对象时出现内存不足异常 - Newtonsoft.Json - Out of memory exception while deserializing big object Newtonsoft.Json.JsonSerializationException:'反序列化 object 时出现意外令牌:使用动态 Object 进行评论 - Newtonsoft.Json.JsonSerializationException: 'Unexpected token when deserializing object: Comment with Dynamic Object JSON 到数据表导致 c# “意外的 JSON 令牌 &gt; 读取 DataTable 时出现此错误。 预期 StartArray,得到字符串。 小路” - JSON to datatable causing this error in c# “Unexpected JSON token > when reading DataTable. Expected StartArray, got String. Path” 解析值时遇到意外字符:S.反序列化JSON时的路径 - Unexpected character encountered while parsing value: S. Path when Deserializing JSON ASP.NET C# 读取 DataTable 时意外的 JSON 令牌 - ASP.NET C# Unexpected JSON token when reading DataTable
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM