I am trying to load the array from the following JSON file, but I cannot seem to get it to load. Tried
TMSFNCLineChart1.LoadFromJSONData(opendialog1.filename,'MICROGRIDS', 'mg0',['critical_load_kws'],nil, nil);
{
"MICROGRIDS": {
"mg0": {
"critical_load_kws": [
70,
90,
10,
150,
200,
200,
400,
20,
30,
70,
0,
0
]
}
}
}