c#中快速解析和提取json字符串

dynamic stuff1 = Newtonsoft.Json.JsonConvert.DeserializeObject("json字符串");
string Text = stuff1["image"]["xxx"]["xxx"];  
//["xxx"]表示后面嵌套更深一层,还可以继续嵌套,["xxx"]数量为0个以上

猜你喜欢

转载自blog.csdn.net/Stybill_LV_/article/details/108538053
今日推荐