I have the following string:
{
"time": 20200526,
"data1m": "[[1590451620,204.73,204.81,204.73,204.81,1.00720100],[1590451680,204.66,204.66,204.58,204.58,1.00000000],[1590452280,204.65,204.83,204.65,204.83,13.74186800],[1590452820,203.75,203.75,203.75,203.75,0.50000000],[1590452880,203.47,203.47,203,203,1.60000000],[1590453000,203.06,203.06,203.06,203.06,4.00000000]]"
}
How can I de-serialize it in C#?
I use this code:
result = reader.ReadToEnd();
var desc = Utilities.Jsprocessor.Deserialize<fooString>(result);
Internal class fooString
{
public string time { get; set; }
public string data1m { get; set; }
}
However, I would still need to process the string. Is there a way to de-serialize it so that it will be saved in an array?