i have this function in VB.NET
Dim dt = (From d In db.d ...).ToArray()
Return New With {
.label = "label",
.data = dt.ToArray()
}
that returns the following data in JSON format
{
"label":"label",
"data":[
{"date":1366657400000,"value":12051},
{"date":1366657397000,"value":12102},
{"date":1366646820000,"value":12099}
]
}
How can I go about returning the data in the following format
{
"label":"label",
"data":[
[1366657400000,12051],
[1366657397000,12102],
[1366646820000,12099]
]
}