If you have an object inside an object like
{
status: "ok",
serverTime: "2018-08-29T11:34:34.930Z",
serverTimeEpoch: 1535542474930,
apiEnabled: true,
careportalEnabled: true,
boluscalcEnabled: true,
head: "02a02c7",
settings: {
units: "mg/dL",
timeFormat: 24,
theme: "default",
alarmUrgentHigh: true,
alarmUrgentHighMins: [30, 60, 90, 120]
}
}
i'm not able to populate the hole object. settings is just a string '{ units: "mg/dL", timeFormat: 24,...'. The top elements are processed correctly.
If you have an object inside an object like
{
status: "ok",
serverTime: "2018-08-29T11:34:34.930Z",
serverTimeEpoch: 1535542474930,
apiEnabled: true,
careportalEnabled: true,
boluscalcEnabled: true,
head: "02a02c7",
settings: {
units: "mg/dL",
timeFormat: 24,
theme: "default",
alarmUrgentHigh: true,
alarmUrgentHighMins: [30, 60, 90, 120]
}
}
i'm not able to populate the hole object. settings is just a string '{ units: "mg/dL", timeFormat: 24,...'. The top elements are processed correctly.