Unzip
This function card is only available in Connector Builder.
Create two lists, one for keys and the other for values, from an object. This is the inverse of the function card Zip.
Input
Field | Definition | Type | Required |
---|---|---|---|
object | Object from which key and value lists are derived | Object | TRUE |
Output
Field | Definition | Type |
---|---|---|
keys | List of key names | List |
values | List of values. This list should have the same number of items as keys. | List |
Example:
For the object {"first.name":"John","last.name":"Doe"}
two lists are derived as outputs:
-
keys:
[ "first.name", "last.name" ]
-
values:
[ "John", "Doe" ]