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

后端 未结 3 837
北海茫月
北海茫月 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:43

    See my answer Passing dynamic json object to C# MVC controller basically using a dynamic type and a ValueProviderFactory is the cleanest way to deserialize Json to something more dynamic.

提交回复
热议问题