var arr= JSON.parse('@Html.Raw(new System.Web.Script.Serialization.JavaScriptSerializer().Serialize(Model.CustomerList))');
来源:https://blog.csdn.net/qdluo/article/details/84072045