> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-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-staging-actions-triggers-prototype/1PH2qC0V_inS4tw1/docs/images/cdy7uua7fh8z/1zJEENRPI2uONuCApPY98p/f1fce88a42fb13fb9856c95c562bd506/createjsonobject.png?fit=max&auto=format&n=1PH2qC0V_inS4tw1&q=85&s=2ca5cfbc7c8eb9961f5b571bde0b721a" 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-staging-actions-triggers-prototype/GX6-DDltz1gQ_CpI/docs/images/cdy7uua7fh8z/5HjIGbBiWik1XozAZczxg5/fe2b0c6f7c657c4209921f1a0978e54b/parsejson.png?fit=max&auto=format&n=GX6-DDltz1gQ_CpI&q=85&s=90b8f321e519a7395f9d7d1010153e1e" 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-staging-actions-triggers-prototype/BCluj8cbseLQ7dvz/docs/images/cdy7uua7fh8z/45acWYMlTGc5ZWMzK5Cqqr/6974ea640a76d2d9cc5814225e52734a/convertjsontostring.png?fit=max&auto=format&n=BCluj8cbseLQ7dvz&q=85&s=7abeb2070766a653dab4a1ac8a0d2c9c" 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\"}"
}
```
