asp.net 解析出
string jsonStr = "{'order_no':'1205281338370004556','access_item':'[{'commodity_id':'EZG20111130112304161','color':'red','size':'24','complex_access':'','access_content':''},{'commodity_id':'EZG20111130112304161','color':'','size':'','complex_access':'','access_content':''}]}";
怎么解析啊
可以通过Json.NET进行解析,Newtonsoft.Json.JsonConvert.DeserializeObject()
求详细
@剑侠情缘: 用JObject.Parse()也可以,详见Json的序列化问题
定义一个相应的类型,来进行相应的解析