Split an object into a list of objects, each with key and value properties. This is the inverse of the Collapse function card.

Input Fields

  • object (List of Objects): JSON object of key/value pairs that will be split into a list of objects.

Click the empty input field to add a second or subsequent JSON list of objects that you also want to split.

Output Fields

  • list: Resulting list of objects.


Consider the following input:

"foo": "bar",
"baz": "taz"

The Split function card takes this object and splits it into two objects:

"key": "foo",
"value": "bar"
"key": "baz",
"value": "taz"

Related topics

Functions in Workflows

Workflow elements