If I have JSON data such as:
{
"datapoints":[ [null, 1234567890, "point1"], [null, 1234567890, "point2"] ]
}
Is there a way to deserialize that data into the following classes:
public class Result
{
public DataPoint[] DataPoints {get;set;}
}
public class DataPoint
{
public string Name {get;set;}
public string Value {get;set;}
public DateTime Timestamp {get;set;}
}
Can I specify the index of which array member to serialize into which property?