Definition and Usage
This command converts a JSON object into its string representation. It allows you to transform a structured JSON object into a text-based JSON string that can be stored, transmitted, or used in other operations.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Object | Enter an object to convert to string | Any valid JSON object or variable | Yes | The input must be a valid JSON object |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a variable that contains the JSON string converted from the input object.
Using Variables in Conditions
You can use variables for both input and output parameters in this command. For the input parameter, you can use a previously created variable that contains a JSON object by clicking the variable icon {x} and selecting the appropriate variable. Similarly, you can specify a variable name to store the resulting JSON string.
Notes
The input must be a valid JSON object; otherwise, the command will fail.
This command is useful when you need to store or transmit JSON data as a string.
The resulting JSON string will include all properties from the original object with proper JSON formatting.
Common use cases include preparing data for API requests, storing structured data in text format, or debugging complex objects.