摘要:
JsonHelp.csusing System.IO;using System.Text;using System.Runtime.Serialization.Json;namespace WebApp{ public class JsonHelp { //序列化 //对象转化为Json字符串 public static string Serialize(object objectToSerialize) { using (MemoryStream ms = new MemoryStream()) ... 阅读全文