How to get a dynamically created Json data set in MVC 3 controller?

后端 未结 3 838
北海茫月
北海茫月 2021-01-03 13:14

Ok, so I am using MVC 3 and it is great at de-serializing a JSON data set into a strongly typed object that is passed to my controller action. Unfortunately I have not found

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-03 13:32

    You Could Use JavaScriptSerializer or DataContractSerializer with Some ActionFilters. They're very flexible

提交回复
热议问题