JSON Array properties to array

Post requests for new features to this forum group. Any suggestion to expand the possibilities of Ventuz are welcome.

JSON Array properties to array

Postby carlbtv » 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:
Code: Select all
   Events: [{
         "Name": "Event1",
         "EventTime": 1.23
      }, {
         "Name": "Event2",
         "EventTime": 2.63
      }, {
         "Name": "Event3",
         "EventTime": 4.2

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 8-) )

Posts: 2
Joined: 21 Oct 2016, 14:24
Location: Cardiff, Wales

Re: JSON Array properties to array

Postby Eric_RD » 08 Jun 2017, 15:13

User avatar
Posts: 67
Joined: 04 Jun 2014, 14:01

Re: JSON Array properties to array

Postby Joe Styles » 08 Jun 2017, 15:17

I've only just noticed the edit button on the json parser which I had missed because I thought you had to have all the properties there to update it and not loose any links :)
Joe Styles
Kinetic Pixel
User avatar
Joe Styles
Posts: 75
Joined: 19 Jan 2012, 12:10
Location: UK

Return to Feature Requests