Last post May 07, 2012 10:37 AM by Carel Blumenstock
May 07, 2012 09:40 AM|Carel Blumenstock|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.
May 07, 2012 10:37 AM|Carel Blumenstock|LINK
Found a solution here: http://blogs.msdn.com/b/henrikn/archive/2012/02/18/using-json-net-with-asp-net-web-api.aspx