I\'m trying to execute a web service which returns a DataTable with the following piece of code:
$.ajax({
type: \"POST\",
url: url,
data: d
I must admit I'm not hugely surprised - DataTable
basically breaks most of the rules of structured data. Why not simply project from the data-table into a typed object? A related question came up earlier... or if you know the schema of the DataTable
just do the conversion in C#...
Manually building the JSON might work, but there are a lot of edge-cases to avoid; I'd rather let an existing framework handle it, to be honest.