Submitting my first bug after ASP.NET MVC 1.0 RTM Release - Kazi Manzu(weblogs.asp.net)
submitted by
mithu(570) 3 years, 2 months ago
The Controller class of ASP.NET MVC Framework has few overloaded methods to return json result from the controller actions. Internally it uses the JavaScriptSerializer which was introduced in ASP.NET AJAX Framework. But unlike the DataContractJsonSerializer which works on attributes, the only way you can control the json output in JavaScriptSerializer class is by registering the JavaScriptConverter classes. In most of the cases you don’t have to control the way the json data is shaping, but in some situation you might need to step in. If you check the overloaded Json methods, none of it takes the JavaScriptConverters as argument.
|category: ASP.NET
|Views: 23
tags:
ASP.NET another
Everyones tags:
Your Tags: