Reputation: 25510
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
Upvotes: 2
Views: 1444
Reputation: 10433
Check JsonValueProvider in ASP.NET MVC 2 Futures.
Sending JSON to an ASP.NET MVC Action Method Argument
Upvotes: 3