摘要: 先创建一个web项目,在根目录放置需要转换的json文件,直接读取静态Json文件加载数据进行转换,代码如下: string Json = string.Empty; List<object> list = new List<object>(); string filePath = Server.M 阅读全文
posted @ 2018-10-17 15:51 胡萝卜炖大白兔 阅读(2213) 评论(0) 推荐(0) 编辑
摘要: 创建web项目: string Json = string.Empty; string filePath = Server.MapPath("/***.json");//根目录下的文件 using (FileStream fs = new FileStream(filePath, FileMode. 阅读全文
posted @ 2018-10-17 11:56 胡萝卜炖大白兔 阅读(755) 评论(0) 推荐(0) 编辑