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

# XML

> JSONをXMLに、およびXMLをJSONに変換するようにXMLフローアクションを構成する方法を説明します。

このXMLアクションのリストを使用すると、JSONオブジェクトをXML文字列に変換したり、XML文字列をJSONオブジェクトに変換したりできます。

<div id="convert-json-to-xml">
  ## JSONをXMLに変換する
</div>

JSONオブジェクトをXML文字列に変換します。

<Frame>
  <img src="https://mintcdn.com/generaltranslationinc/fJ7FJkQ9-WdlT49P/docs/images/ja-jp/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png?fit=max&auto=format&n=fJ7FJkQ9-WdlT49P&q=85&s=6e6c58d725125541a6c6cd9bcfe2bc08" alt="" width="765" height="292" data-path="docs/images/ja-jp/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png" />
</Frame>

<div id="input-settings">
  ### 入力設定
</div>

<table class="table">
  <thead>
    <tr>
      <th><b>パラメーター</b></th>
      <th><b>説明</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>JSON（必須）</td>
      <td>XML文字列に変換されるJSONオブジェクトです。</td>
    </tr>
  </tbody>
</table>

<div id="output-object">
  ### 出力オブジェクト
</div>

<table class="table">
  <thead>
    <tr>
      <th><b>プロパティ</b></th>
      <th><b>種類</b></th>
      <th><b>説明</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`xml`</td>
      <td>文字列</td>
      <td>変換されたXML文字列です。</td>
    </tr>
  </tbody>
</table>

<div id="output-object-example">
  ### 出力オブジェクトの例
</div>

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

<div id="convert-xml-to-json">
  ## XMLをJSONに変換する
</div>

XML文字列をJSONオブジェクトに変換します。

<Frame>
  <img src="https://mintcdn.com/generaltranslationinc/xBEuvOEiZgMgyXPQ/docs/images/ja-jp/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png?fit=max&auto=format&n=xBEuvOEiZgMgyXPQ&q=85&s=c04dc7ee0979b6aac55ce13ed447cdad" alt="" width="776" height="295" data-path="docs/images/ja-jp/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png" />
</Frame>

<div id="input-settings">
  ### 入力設定
</div>

<table class="table">
  <thead>
    <tr>
      <th><b>パラメーター</b></th>
      <th><b>説明</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>XML（必須）</td>
      <td>JSONオブジェクトに変換されるXML文字列です。</td>
    </tr>
  </tbody>
</table>

<div id="output-object">
  ### 出力オブジェクト
</div>

<table class="table">
  <thead>
    <tr>
      <th><b>プロパティ</b></th>
      <th><b>種類</b></th>
      <th><b>説明</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`object`</td>
      <td>オブジェクト</td>
      <td>変換されたJSONオブジェクトです。</td>
    </tr>
  </tbody>
</table>

<div id="output-object-example">
  ### 出力オブジェクトの例
</div>

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

##
