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
Name | Label | Type | Description | Required |
---|---|---|---|---|
source | Source | STRING | The 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
Name | Label | Type | Description | Required |
---|---|---|---|---|
type | Type | STRING OptionsOBJECT, ARRAY | The value type. | null |
source | Source | OBJECT Properties{} | The data to convert to JSON string. | true |
source | Source | ARRAY 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.