- 博客(2)
- 收藏
- 关注
转载 MVC中前台Model转Json传到后台
C#代码: @{ string str = Newtonsoft.Json.JsonConvert.SerializeObject(Model); } JS代码: var theString = '@str'; theString = theString.replace(/"/g, "\""); var temp = JSON.parse(theString);//转为
2017-11-01 13:36:57 1324
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人