摘要:
相对于xml的序列化反序列化 Josn就相对简单不少 需要引用using Newtonsoft.Json; 命名空间 public class roots { public List<userName> usernamelist; } public class userName { public i 阅读全文
posted @ 2022-04-22 11:44
H❥嘉
阅读(207)
评论(0)
推荐(0)
摘要:
需要引入命名空间: using System.IO;using System.Xml;using System.Xml.Serialization; [Serializable] //需要特别注意 添加 public class roots { [XmlElement("userName")] // 阅读全文
posted @ 2022-04-22 11:08
H❥嘉
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号