C#怎么解析一段字符串 -问答-阿里云开发者社区-阿里云

开发者社区> 杨冬芳> 正文

C#怎么解析一段字符串

2016-07-04 17:08:34 1951 1

我的字符串格式是这样的,也可以说是Json字符串,有没有什么方法可以把这段字符串给解析成成实体类,求大神指教啊

 [{"OrderID":"0","No":"1","Item1":"0","Item2":"600","Item3":"100","Item4":"0","Item5":"10","Item6":"200","Item7":"200","Item8":"300","Item9":"0","Item10":"0","ContelNameAndTel":"","Item1m":"2300","Item2m":"300","Item3m":"100","Item4m":"300","OrganizeID":"0","ID":"17094","Jhbh":"","Jhrq":"2015/1/8 0:00:00","Iffb":"0","Jdfmc":"辰达集团 (海口市外办)","Ydr":"","Ydrdh":"","Sfzh":"","Ifxyydr":"0","Contact":"","ContactTel":"","Krrs":"3","MLPlanID":"0","Jhhx":"","Ifly":"0","Ysld":"","Xxly":"","Zdfwy":"","Fzr":"","Remark":"","Ifsybj":"0","Fjfwry":"","FjfwryID":"0","Fjkssj":"","Fjjssj":"","Fwkssj":"","Fwjssj":"","Ghzt":"0","Jszt":"0","Ddfy":"1410","Mdfy":"3100","DdfyDouble":"0","MdfyDouble":"0","Cph":"","State":"0","DelState":"0","CreateName":"","CreateDate":"0001/1/1 0:00:00","Ifmj":"0","Sxrs":"1","ServiceTypeId":"","ServiceTypeName":"","ServiceStateId":"","ServiceStateName":"","ProtectionTypeId":"","ProtectionTypeName":"","WebUserId":"","WebUserSubId":"","Hbh":"","Hblb":"0","Hkgssx":"0","Ddhx":"","PaymentId":"","PaymentName":"贵宾卡","HadTypeId":"","HadTypeName":"其它","VipRoomId":"","VipRoomName":"","HadNatureId":"","HadNatureName":"","VipRoomTypeId":"","VipRoomTypeName":"","AppUserID":"0","AppUserName":"","PlanModel":"","CustomerName":"","Position":"","Unit":"","QianDR":"","JieDY":"","DanJH":"","IFHaveMeals":"0","HaveMealsNo":"0","IfReservedSeating":"0","IfSeated":"0","TheBellboyID":"0","TheBellboyName":"","TheBellboyNo":"0","TheBellboyM":"0","YsRS":"2","Fwy":"","fwList":"","Yby":"","ybList":"","MainCustomer":"Sébastien Hamel(Sebastien Hamel)(塞巴斯蒂安·哈梅尔)、Pam McConnell、Elena Pierce、Simon Langerlier","MainPosition":"加拿大城镇联盟国际关系部主席","MainSeat":"","SxCustomer":"","VipCar":"","carList":"","CardTypeName":"","IsSign":"0","IsSendSms":"0"}]
取消 提交回答
全部回答(1)
相关问答

4

回答

Spark 【问答合集】

社区小助手 2019-05-29 14:13:40 123755浏览量 回答数 4

28

回答

钉钉开放平台“常见问题常见问题常见问题“重要请关注

竹梅 2015-12-03 00:39:14 92941浏览量 回答数 28

5

回答

设置跨域资源共享CORS并使用JS表单PostObject直接上传到OSS

wood23 2015-02-12 08:11:09 40627浏览量 回答数 5

3

回答

Logstash采集文件名称以及自定义格式的日志文件采集

Snorlax 2019-06-18 11:51:28 114677浏览量 回答数 3

1

回答

出现这个问题求解决This XML file does not appear to have any

淘合肥 2017-04-08 21:07:00 89482浏览量 回答数 1

42

回答

【精品问答集锦】Python热门问题

小六码奴 2019-05-30 15:27:34 135589浏览量 回答数 42

58

回答

技术入门问答集锦,涉及多种技术方向,解决新人学习困惑

管理贝贝 2016-08-03 10:13:27 52478浏览量 回答数 58

20

回答

【Java学习全家桶】1460道Java热门问题,阿里百位技术专家答疑解惑

管理贝贝 2018-05-31 13:57:45 45121浏览量 回答数 20

24

回答

【精品问答】python技术1000问(1)

问问小秘 2019-11-15 13:25:00 471530浏览量 回答数 24

19

回答

云数据库RDS MySQL版【问答合集】

我是管理员 2018-08-03 15:10:37 44926浏览量 回答数 19
+关注
杨冬芳
IT从业
1
文章
9167
问答
相关电子书
更多
文娱运维技术
立即下载
《SaaS模式云原生数据仓库应用场景实践》
立即下载
《看见新力量:二》电子书
立即下载