MVC JSON Model Binder Attribute

added by tdupont
5/10/2013 6:34:04 AM

314 Views

Moving complex data structures from client to server used to be difficult, but not anymore! Just add the JsonBinder attribute to your action parameters, and this Custom ModelBinder will automatically detect the type and parameter name, and deserialize your complex JSON object to the data structure of your choice.


0 comments