Object Destructor - a node that allows you to decompose an object into parts. This is useful for getting some data from the object.
If an array of items is passed to this node, it returns only one item.
This node has only one input socket.
Default Input Sockets
A single input socket accepts the object to be disassembled.
||accepts the source object to be disassembled|
Additional Input Sockets
There are no settings to add additional sockets to this node.
The number of output sockets depends on the number of values to be obtained.
Default Output Sockets
There are no default output sockets in this node.
Additional Output Sockets
This node provides the ability to add many additional output sockets. After you configure what data should be received from the source object in Value Outputs, the output socket will be created.
||return the gotten object|
||returns the gotten value|
The current node has three blocks of settings. Only Value Outputs configures node. The other two blocks allow you to test the operation of the node with your settings.
This block of settings is used for testing the node work. It is used as support tool for settings.
|Code Editor||allows to enter the mock object; details...|
|Notes||allows to leave any notes in settings; details...|
This is the space in settings for entering the mock object. Enter a mock object here to check if the correct data will be retrieved from the source object. The data obtained by the Value Outputs will be displayed in Output Result.
This setting is created for notes. This gives you the opportunity to note the purpose of the node.
This block of settings allows you to configure the output values.
|Search Type||allows to select the type of data that will be searched in the source object; details...|
|Property Name||allows to enter the name of the property that you need to get from the object; details...|
|Type||allows to select the type of the output data; details...|
|Output Socket Name||allows to enter the name of the output socket; details...|
|Edit||allows to edit or delete the output option; details...|
This function allows you to select the type of data that will be obtained from the source object. More precisely, you choose how to search for data: by Value or Query.
Use this field to enter the name of the property that you need to get out of the source object. The property whose name you enter will be displayed in the Output Result. Access to properties is carried out using a special query language - JSON Path. It means that with the help of queries you can get data even from multi-level objects and filter which data will be taken.
This is the function that allows you to select in which format the value will be returned. There are two types of the result:
Output Socket Name
This setting allows you to enter the name of the output socket that transmits the value or object received from the source object.
This is the column that contains two buttons for each of options. One of them allows you to edit the option, and the other - to delete it.
This option is used in combination with Mock. It displays the data searched for in the Value Outputs. This will allow you to check the settings and correct operation of the node.