# XMLTOJSON

L’application de workflow **XMLTOJSON** offre un moyen fiable de convertir du contenu XML structuré en contenu JSON équivalent. Elle est particulièrement utile lors du traitement de données de formulaire, de fichiers de configuration ou de réponses d’API initialement encodés en XML, mais qui doivent être utilisés dans des environnements ou des workflows où le format JSON est privilégié.

## Paramètres

<table><thead><tr><th valign="top">Nom</th><th width="108.65240478515625" valign="top">Type</th><th width="107.58685302734375" valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><code>XML_STRING</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top">La chaîne XML à convertir</td></tr><tr><td valign="top"><code>XML_FILE</code></td><td valign="top">FILE</td><td valign="top">IN</td><td valign="top">Le fichier XML à convertir</td></tr><tr><td valign="top"><code>REMOVE_DECLARATION</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top">Indique si la déclaration XML doit être supprimée du JSON : <code>Y</code> (par défaut) ou <code>N</code></td></tr><tr><td valign="top"><code>REMOVE_SCHEMA</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top">Indique si le schéma XML doit être supprimé du JSON : <code>Y</code> (par défaut) ou <code>N</code></td></tr><tr><td valign="top"><code>INDENT_JSON_OUTPUT</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top">Indique si la sortie JSON doit être indentée : <code>Y</code> ou <code>N</code> (par défaut)</td></tr><tr><td valign="top"><code>JSON_STRING</code></td><td valign="top">TEXT</td><td valign="top">OUT</td><td valign="top">La chaîne de sortie JSON</td></tr><tr><td valign="top"><code>JSON_FILE</code></td><td valign="top">FILE</td><td valign="top">OUT</td><td valign="top">Le fichier de sortie JSON</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.workflowgen.com/admin-fr/applications-de-workflow/xmltojson.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
