> ## 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 XML pour convertir du JSON en XML et du XML en JSON.

# XML

Cette liste d’actions XML vous permet de convertir des objets JSON en chaîne XML et des chaînes XML en objets JSON.

<h2 id="convert-json-to-xml">
  Convertir un objet JSON en XML
</h2>

Convertit un objet JSON en chaîne XML.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png" alt="" />
</Frame>

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

| Paramètre          | Description                                   |
| ------------------ | --------------------------------------------- |
| JSON (obligatoire) | L’objet JSON qui sera converti en chaîne XML. |

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

| Propriété | Type   | Description              |
| --------- | ------ | ------------------------ |
| `xml`     | String | La chaîne XML convertie. |

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

```json lines theme={null}
{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<name>John Doe</name>"
}
```

<h2 id="convert-xml-to-json">
  Convertir XML en JSON
</h2>

Convertit une chaîne XML en un objet JSON.

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

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

| Paramètre         | Description                                     |
| ----------------- | ----------------------------------------------- |
| XML (obligatoire) | La chaîne XML qui sera convertie en objet JSON. |

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

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

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

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

##
