Project

General

Profile

Rename properties

Description

Renames selected properties of Source array

Input/Output

Source array : array <= Source
Property : value <= Option
Value : value <= Source or User

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. If you want to manually add Value, select Property and type a Value, then click on Add property; otherwise, click on OK
  4. Connect a source to the operator
  5. Select Property
  6. Drag a value from the source tree and drop it into input field Value
  7. Click on Add property
  8. Click on OK

You can repeat steps 4-8 any time you want

Example

Source array = [{"key1":"value1", "key2":10}, {"key1":"value2", "key2":12}, {"key1":"value3", "key2":13}]
Property = "key2"
Value = "size"

Output = [{"key1":"value1", "size":10}, {"key1":"value2", "size":12}, {"key1":"value3", "size":13}]