Hi all, ok, having a starter problem here, I have a class with a member of type data table, I use an instance of this class as the function result of an apicontroller-derived controller method. The default formatter is json, nice. But the data table member
is serialized to xml and stored in the json formatted response. Apparently I am missing something here like 'there is no json serializer for data table by default, you have to indicate ...' Any clues that can help me progress? T.I.A.
Carel Blumen...
Member
1 Points
6 Posts
mvc4 datatable serialized to xml in json response?
May 07, 2012 09:40 AM|LINK
Hi all, ok, having a starter problem here, I have a class with a member of type data table, I use an instance of this class as the function result of an apicontroller-derived controller method. The default formatter is json, nice. But the data table member is serialized to xml and stored in the json formatted response. Apparently I am missing something here like 'there is no json serializer for data table by default, you have to indicate ...' Any clues that can help me progress? T.I.A.