//序列化 var json= JsonConvert.SerializeObject(数据模型); //反序列化 var obj= JsonConvert.DeserializeObject<数据模型>(strJson);
这篇文档对您是否有帮助?