Skip to content

JSON

JSON (json)

Parse text as JSON.

Transform json

Minimal example

actions:
- json: {}
JSON
{
"actions": [
{
"json": {}
}
]
}

Contents

Fields

FieldTypeRequiredDescription
description Generalstringdescribe this step.
condition Generallua-expression (string)Only run this action if the specified condition is met.
Examples: 2 * count()
suppress-warnings Warningsboolean (bool)Suppress warnings generated by this action.
input-field Inputfield (string)The field containing JSON expression as text.
Examples: data_field
remove Outputboolean (bool)Remove the field containing the value.

General

Show fields
FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the specified condition is met.
Examples: 2 * count()

Warnings

Show fields
FieldTypeRequiredDescription
suppress-warningsboolean (bool)Suppress warnings generated by this action.

Input

Show fields
FieldTypeRequiredDescription
input-fieldfield (string)The field containing JSON expression as text.
Examples: data_field

Output

Show fields
FieldTypeRequiredDescription
removeboolean (bool)Remove the field containing the value.