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

> JSON を XML に、XML を JSON に変換する XML フローのActionsの設定方法を学びます。

# XML

この XML Actions の一覧では、JSON オブジェクトを XML 文字列に、XML 文字列を JSON オブジェクトに変換できます。

<h2 id="convert-json-to-xml">
  JSONをXMLに変換
</h2>

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

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-init-gt-translations/AcBWN86l7cA24wcQ/docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png?fit=max&auto=format&n=AcBWN86l7cA24wcQ&q=85&s=81b82981f6c09a06647ada45c38c7caa" alt="" width="765" height="292" data-path="docs/images/cdy7uua7fh8z/3GW2EhBMIX3YDPaqc3rXrZ/7706a863700df51376d645a7d9292a27/convertjsontoxml.png" />
</Frame>

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

| パラメータ     | 説明                     |
| --------- | ---------------------- |
| JSON (必須) | XML文字列に変換するJSONオブジェクト。 |

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

| プロパティ | 型      | 説明           |
| ----- | ------ | ------------ |
| `xml` | String | 変換されたXML文字列。 |

<h3 id="output-object-example">
  出力オブジェクトの例
</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">
  XMLをJSONに変換
</h2>

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

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-init-gt-translations/k7ye6-pv0VL5gE4A/docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png?fit=max&auto=format&n=k7ye6-pv0VL5gE4A&q=85&s=de904d70b05b61cad6df1663863e081a" alt="" width="776" height="295" data-path="docs/images/cdy7uua7fh8z/42fO7BelEN4bnlUj70WhV8/e53ada552f7cc05c192466db4777471a/covertxmltojson.png" />
</Frame>

<h3 id="input-settings-2">
  入力設定
</h3>

| パラメータ    | 説明                           |
| -------- | ---------------------------- |
| XML (必須) | JSONオブジェクト に変換される XML文字列 です。 |

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

| プロパティ    | 型      | 説明              |
| -------- | ------ | --------------- |
| `object` | オブジェクト | 変換後のJSONオブジェクト。 |

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

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

##
