Is there a way using NewtonSoft.Json or JavaScriptSerializer to serialize a DataTable as array of arrays instead of Array of objects. For example I need to serialize the datatable as below
[["Yellow", "Large", "Cotton"],["Red", "Medium", "Linen"]]
instead of
[{"Color":"Yellow", "Size":"Large", "Make":"Cotton"},{"Color":"Red", "Size":"Medium", "Make":"Linen"}]