JSON Array properties to array
Posted: 20 Mar 2017, 13:05
The JSON nodes are great!
It would be useful to be able to get access to a given property within an array of JSON objects as a Ventuz array for further processing.
For example, take the following JSON defining a list of generic events:
If I have some sort of top level controller that's triggering the events, I'd like to get at the EventTime properties as a single float array: 1.23,2.63,4.2
Another example may be data for a bar chart - I need to get at the Min/Max values. For a Pie chart, it would be useful to get the values to work out the total (...even easier if Array Analysis had a Sum property )
Thanks
Carl
It would be useful to be able to get access to a given property within an array of JSON objects as a Ventuz array for further processing.
For example, take the following JSON defining a list of generic events:
Code: Select all
{
Events: [{
"Name": "Event1",
"EventTime": 1.23
}, {
"Name": "Event2",
"EventTime": 2.63
}, {
"Name": "Event3",
"EventTime": 4.2
}
]
}
Another example may be data for a bar chart - I need to get at the Min/Max values. For a Pie chart, it would be useful to get the values to work out the total (...even easier if Array Analysis had a Sum property )
Thanks
Carl