[X] I have read and understand the suggestion guidelines
Checked for duplicate suggestions
[X] I checked for existing similar suggestions
Summary
the JSON objects scripting interface doesn't allow us any direct access to the json data it holds, we have to get a copy of the data to access it. With large JSON files this creates a large performance bottleneck
Possible workarounds or alternatives
handle the JSON in scripting and expose getters and setter via event sheet return functions. (i.e. don't use the JSON objectType but recreate it)
Proposed solution
A way to directly access it (the Dictionaries scripting interface seems to allow that).
As a worse alternative: getter and setter scripting interface where you can pass in a path.
Why is this idea important?
For projects that use events and scripting together the JSON object is a great way to pass data between the two paradigms.
Additional remarks
It's super weird how the JSON, Dictionary and Array scripting interface follow completely different patterns.
Reviewed guidelines
Checked for duplicate suggestions
Summary
the JSON objects scripting interface doesn't allow us any direct access to the json data it holds, we have to get a copy of the data to access it. With large JSON files this creates a large performance bottleneck
Possible workarounds or alternatives
handle the JSON in scripting and expose getters and setter via event sheet return functions. (i.e. don't use the JSON objectType but recreate it)
Proposed solution
A way to directly access it (the Dictionaries scripting interface seems to allow that). As a worse alternative: getter and setter scripting interface where you can pass in a path.
Why is this idea important?
For projects that use events and scripting together the JSON object is a great way to pass data between the two paradigms.
Additional remarks
It's super weird how the JSON, Dictionary and Array scripting interface follow completely different patterns.