string str = "[{\"roleId\":\"GROUP\",\"roleName\":\"商家\"},{\"roleId\":\"REGION_MANAGER\",\"roleName\":\"区域经理\"}]"; JArray lstRole = (JArray)JsonConvert.DeserializeObject(str);
string str = "[{\"roleId\":\"GROUP\",\"roleName\":\"商家\"},{\"roleId\":\"REGION_MANAGER\",\"roleName\":\"区域经理\"}]"; JArray lstRole = (JArray)JsonConvert.DeserializeObject(str);
cxw
技术宅,最喜瞎折腾.
文章评论