The Convert JSON component converts your parsed JSON objects into common Grasshopper data types. The most basic conversion is by giving an array of 3 numbers that are then turned into points:
However, you can send more complex JSON structures to create colors, boxes, nurbs surfaces, nurbs curves, transformations and more. The JSON has to be organised by providing a “type” attribute and a “data” attribute. For example, in order to create a color we will call our “type”:“color” and the “data” will contain an array of 3 numbers which represent the Red, Green and Blue values. A box needs a plane with origin, X axis and Y axis and an array with three domains defining the size for each axis.