JSON.stringify(postdata)
var ThesisData = ko.toJS(viewModel.loadData()); ;
//后台
var obj = JsonConvert.DeserializeObject(userinfos);
JArray ja = new JArray();
if (obj is JArray)
{
ja = JsonConvert.DeserializeObject<JArray>(userinfos);
}
else
{
ja = JsonConvert.DeserializeObject<JArray>("[" + userinfos + "]");
}
原文地址:https://www.cnblogs.com/wangSoft/p/12269919.html
时间: 2024-10-15 06:48:14