C#JSON的序列化和反序列化
实体类模型public class JsonTest{ public int ID { get; set; } public string Name { get; set; } public int Age { get; set; } public string Msg { get; set; }}开始序列化和反序列化var json = new JsonTest(){ ID = 123, Name = "张三", Age = 25,
原创
2021-04-14 14:30:44 ·
109 阅读 ·
0 评论