> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON

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

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.

![](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/1zJEENRPI2uONuCApPY98p/f1fce88a42fb13fb9856c95c562bd506/createjsonobject.png)

### 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.

![](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/5HjIGbBiWik1XozAZczxg5/fe2b0c6f7c657c4209921f1a0978e54b/parsejson.png)

### 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.

![](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/45acWYMlTGc5ZWMzK5Cqqr/6974ea640a76d2d9cc5814225e52734a/convertjsontostring.png)

### 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\"}"
}
```
