I am new here, this is my first question. We all start somewhere :D
I have this data being returned to me via an API and I store it in a variable named jsonResponseData
{
"date-value": [{
"dateTime": "2020-06-25",
"value": "34365"
}, {
"dateTime": "2020-06-26",
"value": "7268"
}, {
"dateTime": "2020-06-27",
"value": "4762"
}, {
"dateTime": "2020-06-28",
"value": "4650"
}, {
"dateTime": "2020-06-29",
"value": "2934"
}, {
"dateTime": "2020-06-30",
"value": "4973"
}, {
"dateTime": "2020-07-01",
"value": "3594"
}, {
"dateTime": "2020-07-02",
"value": "19674"
}]
}
Is this even a nested dictionary? I am fairly new to programming and any help is welcome!
Regardless of what it is, how would I parse it so I only keep the 7 value values and am able to then add them up into one number.