长老_亮哥
2016-12-12 03:05
采纳率: 100%
浏览 2.8k

C# 反序列化嵌套JSON。请问这个JSON C#怎么来处理

{"total":1,"success":true,"metaData":{"fields":[{"name":"presno","type":"string"},{"name":"medid","type":"float"},{"name":"medouttime","type":"date","dateFormat":"Y-m-d H:i:s.u"},{"name":"prestype","type":"float"},{"name":"windowno","type":"string"},{"name":"patientid","type":"float"},{"name":"patientname","type":"string"},{"name":"patientsex","type":"string"},{"name":"patientbirth","type":"string"},{"name":"diagnosis","type":"string"},{"name":"wardno","type":"float"},{"name":"wardname","type":"string"},{"name":"doctorname","type":"string"},{"name":"fpno","type":"string"},{"name":"sendflag","type":"string"},{"name":"tfcode","type":"int"},{"name":"medpresinfo","type":"string"}]},"rows":[{"presno":"19840491","medid":40491,"medouttime":"2016-11-29 07:15:48.269085","prestype":1,"windowno":"","patientid":42361,"patientname":"陈诗玉","patientsex":"","patientbirth":"","diagnosis":"","wardno":10153,"wardname":"急诊科","doctorname":"周耀亮","fpno":"35654","sendflag":"","tfcode":1,"medpresinfo":"[{\"medid\":40491,\"medonlycode\":2119,\"medamt\":1,\"medpack\":\"\",\"medunitpack\":\"\",\"medunit\":\"0.125g*12s\",\"windowno\":\"\",\"medpredos\":\"0.5\",\"medusage\":\"qd\",\"medpreday\":1,\"medunitprice\":46.3000,\"medtotalprice\":\"\",\"medtype\":\"\",\"medconvercof\":\"\",\"tfcode\":\"\",\"medname\":\"地红霉素肠溶片(派盛)\",\"medfactory\":\"西安利君制药\"}]"}],"processedTime":43}

4条回答 默认 最新

相关推荐 更多相似问题