> For the complete documentation index, see [llms.txt](https://docs.flexy.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexy.bot/modules/scripting/steps/stringify-json.md).

# Stringify JSON

**Introduction**

The "Stringify JSON" step converts a variable containing structured data (e.g., objects or lists) into a JSON string. This is useful for preparing data for storage or transmission in JSON format.

**Configuration**

* **Variable**: Specifies the variable containing the data to convert. The variable must be of type Object or List, and may include nested types such as Text, Boolean, Date, Integer, Number, Object, or List. This parameter is required.

**Outputs**

* **Value**: A JSON-formatted string representation of the input variable.
