> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-actions-triggers-prototype.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure your JSON flow actions to create JSON objects, parse JSON and convert JSON to string.

# JSON

This list of JSON actions allows you to create, parse, and convert JSON to strings.

## Create JSON object

Creates a JSON object. This is especially useful to reuse its content in other actions of the flow.

<Frame>
  <img src="https://mintcdn.com/docs-dev-actions-triggers-prototype/M4e_wjkc6eywZ_wO/docs/images/cdy7uua7fh8z/1zJEENRPI2uONuCApPY98p/f1fce88a42fb13fb9856c95c562bd506/createjsonobject.png?fit=max&auto=format&n=M4e_wjkc6eywZ_wO&q=85&s=286234645038a3a6a2cafc9ee6dd1212" alt="" width="769" height="517" data-path="docs/images/cdy7uua7fh8z/1zJEENRPI2uONuCApPY98p/f1fce88a42fb13fb9856c95c562bd506/createjsonobject.png" />
</Frame>

### Input settings

| Parameter | Description      |
| --------- | ---------------- |
| Body      | The JSON object. |

### Output object

| Property | Type   | Description      |
| -------- | ------ | ---------------- |
| `result` | Object | The JSON object. |

### Output object example

```json lines theme={null}
{
	"result": {
		"name": "John Doe"
	}
}
```

## Parse JSON

Parses a JSON object contained in a text string into a JSON object.

<Frame>
  <img src="https://mintcdn.com/docs-dev-actions-triggers-prototype/8yG0sorggbq9bIbi/docs/images/cdy7uua7fh8z/5HjIGbBiWik1XozAZczxg5/fe2b0c6f7c657c4209921f1a0978e54b/parsejson.png?fit=max&auto=format&n=8yG0sorggbq9bIbi&q=85&s=313c1d9b31ef10111a5cb835e59fa1c3" alt="" width="788" height="298" data-path="docs/images/cdy7uua7fh8z/5HjIGbBiWik1XozAZczxg5/fe2b0c6f7c657c4209921f1a0978e54b/parsejson.png" />
</Frame>

### Input settings

| Parameter              | Description      |
| ---------------------- | ---------------- |
| JSON string (required) | The JSON string. |

### Output object

| Property | Type   | Description             |
| -------- | ------ | ----------------------- |
| `object` | Object | The parsed JSON object. |

### Output object example

```json lines theme={null}
{
  "object": {
    "name": "John Doe"
  }
}
```

## Convert JSON to string

Converts a JSON object to a string.

<Frame>
  <img src="https://mintcdn.com/docs-dev-actions-triggers-prototype/pJYW9vLPIqzUNcly/docs/images/cdy7uua7fh8z/45acWYMlTGc5ZWMzK5Cqqr/6974ea640a76d2d9cc5814225e52734a/convertjsontostring.png?fit=max&auto=format&n=pJYW9vLPIqzUNcly&q=85&s=bfcb6edac82d3222445533f0f666b6bb" alt="" width="752" height="279" data-path="docs/images/cdy7uua7fh8z/45acWYMlTGc5ZWMzK5Cqqr/6974ea640a76d2d9cc5814225e52734a/convertjsontostring.png" />
</Frame>

### Input settings

| Parameter              | Description                                          |
| ---------------------- | ---------------------------------------------------- |
| JSON object (required) | The JSON object that will be serialized to a string. |

### Output object

| Property | Type   | Description                 |
| -------- | ------ | --------------------------- |
| `json`   | String | The serialized JSON object. |

### Output object example

```json lines theme={null}
{
  "json": "{\"name\":\"John Doe\"}"
}
```
