Project

General

Profile

Extract properties

Description

Extracts selected properties from each element of Source array and returns a new array where elements contain only selected properties

Input/Output

Source array : array <= Source
Property : value <= Option

Output : array

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. Select a Property and click on Add property
  4. Click on OK

You can repeat step 3 any time you want

Example

Source array = [{"key1":"value1", "key2":1}, {"key1":"value2", "key2":2}, {"key1":"value3", "key2":3}]
Property = "key2"

Output = [{"key2":1}, {"key2":2}, {"key2":3}]