I have this json file:
{
"timestamp": 1557323147422,
"change_id": 11687520784,
"data": [
[ "new", 5775.0, 16530.0 ],
[ "new", 5774.5, 360.0 ]
]
}
I need to set up a class to deserialize it, but the data array is causing me a problem.
I tried to map data to:
List<(string, double, double)>
but that doesn't work. List works, but then it's just pushing the problem one step away.
I can map it to
List<dynamic>
and then I get a list of JArray that I need to parse individually.
What I need is to be able to map it to some class that has a string and 2 doubles.
> but then I have to parse the doubles after that
– Thomas May 08 '19 at 14:09