Table data to JSON

Take a column that contains table data and convert it to a JSON representation of that data.

Ingredient Family: rowActionsIngredients

Outline Display: Convert table data to JSON from the column {{tableDataColumn}} into {{newColumn}}.

Local scope

The parent slot binds these (look up the slot in the parent to see how):

  • $table – The table to act on

Names introduced within this component’s knobs:

  • ignoredTable – table chosen from the app’s schema (via ignoredTable knob)

Settings

Required

  • tableDataColumn : column of $table (type filter: any type)
    The column with the table data

  • ignoredTable : table
    The shape of the table data. Note that this table will not actually be modified by this ingredient.

  • newColumn : new column (type: text; required, non-nullable)
    The name of the new variable, which must not shadow other names