C#-使用Newtonsoft.Json实现json字符串与object对象互转

json字符串转object对象:

IF004Response processResponse = JsonConvert.DeserializeObject<IF004Response>(processResponseString);

object对象转json字符串:

IF004Process process = new IF004Process();
string processString = JsonConvert.SerializeObject(process);
原文地址:https://www.cnblogs.com/zwh1993/p/13723577.html