JSON Input 🦢
Refer to the JSON page in the Explanation section of the documentation to understand what JSON is and why/when it needs to be used with ArupCompute.
The jSwan component library can be used to help you construct / deconstruct JSON objects.
Example
The below screen grabs are taken from this example script.
The 'work with lists of data' DesignCheck function requires a list of a custom datatype for an input.
The JSON is generated:
And input into the Compute component:
How to work with JSON in Grasshopper
The jSwan component library can be used to help you construct / deconstruct JSON objects.