Create an object from two lists, by mapping keys from the first lists to values from the second.  This is particularly useful when creating an object that has keys with dots in the key names.  

Because dots usually refer to sub-objects, it can be difficult to create objects that have key names with dots in them.

For example, if you want to generate this object:

{
    "first.name": "John",
    "last.name": "Doe"
}

you could create it using Object - Zip with these two inputs:

  • keys: [ "first.name", "last.name" ]
  • values: [ "John", "Doe" ]  

Input Fields

  • keys (list of text):  a list of key names
  • values (list - you set the type):  a list of values. This list should have the same number of items as keys.

Output Fields

  • object (object):  the newly-created object using the keys and values provide