为了账号安全,请及时绑定邮箱和手机立即绑定

C#如何解析JSON格式到对象

C#如何解析JSON格式到对象

千万里不及你 2018-07-24 08:09:14
{"response":{"errorCount":0,"orderList":{"order":[{"orderAmount":119,"orderCode":"120914FAYKSR","orderCreateTime":"2012-09-14 16:46:21","orderDeliveryFee":0,"orderId":75483957,"orderNeedInvoice":2,"orderStatus":"ORDER_TRUNED_TO_DO","productAmount":119,"updateTime":"2012-09-14 17:05:13"},{"orderAmount":119,"orderCode":"120914TB23GA","orderCreateTime":"2012-09-14 23:51:25","orderDeliveryFee":0,"orderId":75566567,"orderNeedInvoice":2,"orderStatus":"ORDER_TRUNED_TO_DO","productAmount":119,"updateTime":"2012-09-15 00:08:14"}]},"totalCount":2}}C# 怎么把这段JSON数据解析为order对象,然后更新到数据库中啊,求教能写个示例吗
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 1066 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信