Closed yfrindel closed 4 years ago
historyItem = vJSON("measures")(0)
valueStr = historyItem(UBound(historyItem))("value")
Thank you for the answer, but I have still a problem :
that's the value of the sJSONstring :
"{"paging":{"pageIndex":1,"pageSize":100,"total":3},"measures":[{"metric":"coverage","history":[{"date":"2019-05-29T16:35:40+0100","value":"0.0"},{"date":"2019-05-30T07:48:40+0100","value":"0.0"},{"date":"2019-06-18T10:44:37+0100","value":"0.0"}]}]}"
historyItem = vJSON("measures")(0)("history")
valueStr = historyItem(UBound(historyItem))("value")
Excellent, it works. Thanks
Hi,
Please, could you tell me how I can access to the last element of my JSON string please ?
I tried with the following code, but the vJSON seems not correct :
Thx