I have an IEnumerable list of date/value pairs that I am returning as a Json list to flot. However, when I call JsonResult(), the result looks like this:
[{"Date":date1, "Value":value1}, {"Date":date2, "Value":value2}...]
Flot is expecting
[[date1, value1], [date2, value2]...]
Is there any simple way to get the MVC framework to output objects like this or do I need to write my own seralizer / StringBuffer code? For that matter I don't even need to output the field names, just the values themselves.