In my MVC project, I return like 300 rows, which has exact same structure (fields), so instead of this:
[{
name : "John",
age : 11,
}, {
name : "Jane",
age : 21,
}, {
name : "Poul",
age : 18,
}]
Is it possible, in vb.net (or c#), to only state the fieldnames once and return like this:
[["name","age"],["John",11],["Jane",21],["Poul",18]]
That would save me like 50% of the code returned from server to client.