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

{"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对象,然后更新到数据库中啊,求教

能写个示例吗


千万里不及你
浏览 1067回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP