
c#
圆圆娃哈哈
这个人很懒,什么也不想写~
展开
-
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 · 2050 阅读 · 0 评论 -
C#的远程post接收与请求
//接收 Stream stream = HttpContext.Current.Request.InputStream; byte[] getByte = new byte[stream.Length]; stream.Read(getByte, 0, getByte.Length); string p原创 2017-10-26 14:21:27 · 1321 阅读 · 0 评论