C#不建类直接Json解析与取值
1、添加引用Newtonsoft.Json.dll(附件:https://files.cnblogs.com/files/chen-yuan/Newtonsoft.zip); 2、引用:using Newtonsoft.Json.Linq;3、具体代码:string students = "{\"grade\":\"6\",\"class\":\"1\",\"students\":[{ \&quo
原创
2017-10-19 15:58:22 ·
2071 阅读 ·
0 评论