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

> Découvrez comment configurer vos actions de Flow JSON pour créer des objets JSON, analyser du JSON et convertir du JSON en chaîne de caractères.

# JSON

Cette liste d’actions JSON vous permet de créer, d’analyser et de convertir du JSON en chaîne de caractères.

<h2 id="create-json-object">
  Créer un objet JSON
</h2>

Crée un objet JSON. C’est particulièrement utile pour réutiliser son contenu dans d’autres actions du flux.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/1zJEENRPI2uONuCApPY98p/f1fce88a42fb13fb9856c95c562bd506/createjsonobject.png" alt="" />
</Frame>

<h3 id="input-settings">
  Paramètres d’entrée
</h3>

| Paramètre | Description   |
| --------- | ------------- |
| Corps     | L’objet JSON. |

<h3 id="output-object">
  Objet de sortie
</h3>

| Propriété | Type  | Description   |
| --------- | ----- | ------------- |
| `result`  | Objet | L’objet JSON. |

<h3 id="output-object-example">
  Exemple d’objet de sortie
</h3>

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

<h2 id="parse-json">
  Analyser un objet JSON
</h2>

Analyse un objet JSON contenu dans une chaîne de caractères pour le convertir en objet JSON.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/5HjIGbBiWik1XozAZczxg5/fe2b0c6f7c657c4209921f1a0978e54b/parsejson.png" alt="" />
</Frame>

<h3 id="input-settings-2">
  Paramètres d’entrée
</h3>

| Paramètre                 | Description                   |
| ------------------------- | ----------------------------- |
| Chaîne JSON (obligatoire) | La chaîne de caractères JSON. |

<h3 id="output-object-2">
  Objet de sortie
</h3>

| Propriété | Type  | Description           |
| --------- | ----- | --------------------- |
| `object`  | Objet | L’objet JSON analysé. |

<h3 id="output-object-example-2">
  Exemple d’objet de sortie
</h3>

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

<h2 id="convert-json-to-string">
  Convertir un objet JSON en chaîne de caractères
</h2>

Convertit un objet JSON en chaîne de caractères.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/45acWYMlTGc5ZWMzK5Cqqr/6974ea640a76d2d9cc5814225e52734a/convertjsontostring.png" alt="" />
</Frame>

<h3 id="input-settings-3">
  Paramètres d’entrée
</h3>

| Paramètre                | Description                                              |
| ------------------------ | -------------------------------------------------------- |
| objet JSON (obligatoire) | L’objet JSON qui sera sérialisé en chaîne de caractères. |

<h3 id="output-object-3">
  Objet de sortie
</h3>

| Propriété | Type   | Description             |
| --------- | ------ | ----------------------- |
| `json`    | String | L’objet JSON sérialisé. |

<h3 id="output-object-example-3">
  Exemple d’objet de sortie
</h3>

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