Project

General

Profile

Flatten array

Description

Extracts the elements inside Source array and merges them in a single object

Input/Output

Source array : array <= Source

Output : object

Usage

  1. Connect a source to the operator
  2. Drag an array from the source tree and drop it into input field Source array
  3. Click on OK

Example

Source array = [{"key1":"value1", "key2":"value2"}, {"key1":"value11", "key3":"value3"}]

Output = {"key1":"value11", "key2":"value2", "key3":"value3"}