json.decode action

This trigger action will take a JSON encoded string and convert it to an object (or array).

Action

This trigger action is found under the String heading.

Canvas

When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.

The left routing point (red) is the failure route. This route will be taken if there is an error during execution.

The right routing point (green) is the success route. This route will be taken if action executes successfully.

Form

Parameters

Name

Type

Required

Descriptions

Input

String

Yes

The JSON encoded string.

Action variables

Name

Type

Description

$(action.X.value)

Object

The result of decoding the input string into an object (or array).