string str = "{\"createTime\":\"2017-05-26 11:13:22\",\"billPayment\":\"{\\\"buyerUsername\\\":\\\"mxj***@163.com\\\"}\"}";
string str1 = str.Replace("\\\"","\"");
string str2 = str1.Replace("\"{", "{").Replace("}\"", "}");
NotifyResponse r = (NotifyResponse)JsonConvert.DeserializeObject(str2, new NotifyResponse().GetType());
Json转移符问题
最新推荐文章于 2023-06-22 13:00:53 发布