I have data getting from from an API. The result is an array that looks like :
{
"values": [
{
"value": 1.50590809747133,
"timestamp": 1558540800
},
{
"timestamp": 1558548000,
"value": 1.52303142144612
},
{
"value": 1.49521152223328,
"timestamp": 1558555200
}
],
"unit": "%"
}
How should I do to build another array composed of all the "value" items only(1.50, 1.52, 1.49)?
Any help would be very appreciated
Thanks !