I have JSON with 2 collection FailedCount and SucceededCount.
{
"FailedCount": [{
"FailedCount_DATE_CURRENT_CHECK": "2016-11-30 10:40:09.0",
"FailedCount_DATE__CURRENT__CHECK": "10:40:09",
"FailedCount_MEAS_VALUE": 0
}, {
"FailedCount_DATE_CURRENT_CHECK": "2016-11-30 10:45:09.0",
"FailedCount_DATE__CURRENT__CHECK": "10:45:09",
"FailedCount_MEAS_VALUE": 0
}, {
"FailedCount_DATE_CURRENT_CHECK": "2016-11-30 10:50:09.0",
"FailedCount_DATE__CURRENT__CHECK": "10:50:09",
"FailedCount_MEAS_VALUE": 1
}],
"SucceededCount": [{
"SucceededCount_MEAS_VALUE": 555
}, {
"SucceededCount_MEAS_VALUE": 547
}, {
"SucceededCount_MEAS_VALUE": 339
}]
}
How get first value SucceededCount
?
I tried:
jsonObj.SucceededCount[1];
But the result is not good: [object Object]
.