This sample demonstrates how to convert custom types to the JSON string on the client side and parse this string on the server. The conversion is performed using $.toJSON. This function declared in the jquery.json-2.2.min file.
The JSON string is converted in a Controller's Action using the JavaScriptSerializer.Deserialize method.
In the sample, if it is not possible to deserialize user input, an exception is thrown.
Question Comments
Added By: Włodzimierz Oleksiw at: 9/20/2016 1:49:23 PM Is it possible to get json model like Action method parameter ?
Here is what I try to do
Added By: Vova (DevExpress Support) at: 9/20/2016 11:29:51 PM
Hello,
We will process your request in the mentioned ticket. This ticket is in our processing queue now.
Regards,
Vova