Skip to content

JSON Helper

JSON helper component provides actions for parsing and stringifying JSON.

Categories: helpers

Type: jsonHelper/v1


Actions

Convert from JSON String

Name: parse

Converts the JSON string to object/array.

Properties

NameLabelTypeDescriptionRequired
sourceSourceSTRINGThe JSON string to convert to the data.true

Example JSON Structure

{
"label" : "Convert from JSON String",
"name" : "parse",
"parameters" : {
"source" : ""
},
"type" : "jsonHelper/v1/parse"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

Convert to JSON String

Name: stringify

Writes the object/array to a JSON string.

Properties

NameLabelTypeDescriptionRequired
typeTypeSTRING
Options OBJECT, ARRAY
The value type.null
sourceSourceOBJECT
Properties {}
The data to convert to JSON string.true
sourceSourceARRAY
Items []
The data to convert to JSON string.true

Example JSON Structure

{
"label" : "Convert to JSON String",
"name" : "stringify",
"parameters" : {
"type" : "",
"source" : [ ]
},
"type" : "jsonHelper/v1/stringify"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.