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

# 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>![](https://images.ctfassets.net/cdy7uua7fh8z/1zJEENRPI2uONuCApPY98p/f1fce88a42fb13fb9856c95c562bd506/createjsonobject.png)</Frame>

### Input settings

<table class="table">
  <thead>
    <tr>
      <th><b>Parameter</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>Body</td>

      <td>
        The JSON object.
      </td>
    </tr>
  </tbody>
</table>

### Output object

<table class="table">
  <thead>
    <tr>
      <th><b>Property</b></th>
      <th><b>Type</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>result</code></td>
      <td>Object</td>
      <td>The JSON object.</td>
    </tr>
  </tbody>
</table>

### 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>![](https://images.ctfassets.net/cdy7uua7fh8z/5HjIGbBiWik1XozAZczxg5/fe2b0c6f7c657c4209921f1a0978e54b/parsejson.png)</Frame>

### Input settings

<table class="table">
  <thead>
    <tr>
      <th><b>Parameter</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>JSON string (required)</td>

      <td>
        The JSON string.
      </td>
    </tr>
  </tbody>
</table>

### Output object

<table class="table">
  <thead>
    <tr>
      <th><b>Property</b></th>
      <th><b>Type</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>object</code></td>
      <td>Object</td>
      <td>The parsed JSON object.</td>
    </tr>
  </tbody>
</table>

### Output object example

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

## Convert JSON to string

Converts a JSON object to a string.

<Frame>![](https://images.ctfassets.net/cdy7uua7fh8z/45acWYMlTGc5ZWMzK5Cqqr/6974ea640a76d2d9cc5814225e52734a/convertjsontostring.png)</Frame>

### Input settings

<table class="table">
  <thead>
    <tr>
      <th><b>Parameter</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>JSON object (required)</td>

      <td>
        The JSON object that will be serialized to a string.
      </td>
    </tr>
  </tbody>
</table>

### Output object

<table class="table">
  <thead>
    <tr>
      <th><b>Property</b></th>
      <th><b>Type</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>json</code></td>
      <td>String</td>
      <td>The serialized JSON object.</td>
    </tr>
  </tbody>
</table>

### Output object example

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