ASP.Net MVC - Send Javascript Associative array to a controller
问题 I'm trying to pass a javascript associative array to a controller. I can pass normal arrays into a controller with this: public JsonResult ProductsByFacets(List<string> facets) but this won't work with associative arrays 回答1: Check JsonValueProvider in ASP.NET MVC 2 Futures. Sending JSON to an ASP.NET MVC Action Method Argument 来源: https://stackoverflow.com/questions/3308674/asp-net-mvc-send-javascript-associative-array-to-a-controller