C# 使用Newtonsoft.Json
https://blog.csdn.net/qq_38762313/article/details/100161149
对象转json字符串
string jsStr=Newtonsoft.Json.JsonConvert.SerializeObject(对象)
json字符串转对象
User user=JsonConvert.DeserializeObject<User>("json字符串");
https://blog.csdn.net/qq_38762313/article/details/100161149
对象转json字符串
string jsStr=Newtonsoft.Json.JsonConvert.SerializeObject(对象)
json字符串转对象
User user=JsonConvert.DeserializeObject<User>("json字符串");