c#开发中使用Newtonsoft.Json反序列化数组求解? 50
数组是这样[{"id":1,"yzm":97873760,"suoid":3,"jw":201801,"zta":0,"ztb":0,"csuo":{"id":3,"a1...
数组是这样[{"id":1,"yzm":97873760,"suoid":3,"jw":201801,"zta":0,"ztb":0,"csuo":{"id":3,"a1":145,"a2":154,"a3":138,"c1":1,"c2":3,"d1":17,"f1":153}}]怎能序列化
展开
1个回答
展开全部
public class DataUser { public string changeCode { get; set; } public string orderDesc { get; set; } public string orderNo { get; set; } public long time { get; set; } public string transactionId { get; set; } } //用这个类反序列化 public class Order { public DataUser datauser { get; set; } public string notifyType { get; set; } public string sign { get; set; } public string version { get; set; } }
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询