# ConvertXMLStringToJToken

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.JSON2/tree/main/Frends.JSON.ConvertXMLStringToJToken>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name           | Description                                                                                  |
| -------------- | -------------------------------------------------------------------------------------------- |
| XML : `String` | <p>XML string to convert.</p><p><br>Default: <code>-</code><br>Example: <code>bar</code></p> |
| {% endtab %}   |                                                                                              |

{% tab title="Result: Result" %}

| Name                | Description                                                                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Success : `Boolean` | <p>Operation complete without errors.<br>Example: <code>true</code></p>                                                                           |
| Jtoken : `Object`   | <p>JToken.<br>Example: <code>{{ "?xml": { "@version": "1.0", "@standalone": "no" }, "root": { "foos": { "@id": "1", "foo": "bar" } }}}</code></p> |
| {% endtab %}        |                                                                                                                                                   |

{% tab title="Changelog" %}

## Changelog

### \[1.1.0] - 2024-08-20

#### Updated

* Updated Newtonsoft.Json library to the latest version 13.0.3.

### \[1.0.1] - 2023-11-28

#### Fixed

* Fixed Return Jtoken type to dynamic.

### \[1.0.0] - 2023-02-13

#### Added

* Initial implementation
  {% endtab %}
  {% endtabs %}
