# Transform

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.CrossplatformJSON/tree/main/Frends.JSON.Transform>

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

| Name                 | Description                                                                                                                                                                                       |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| InputJson : `Object` | <p>Map input json in String or JToken type</p><p><br>Default: <code>{"name":"veijo"}</code><br>Example: <code>{"name":"veijo"}</code></p>                                                         |
| JsonMap : `String`   | <p>JUST json map. See: <https://github.com/WorkMaze/JUST.net#just></p><p><br>Default: <code>{"firstName":"#valueof($.name)"}</code><br>Example: <code>{"firstName":"#valueof($.name)"}</code></p> |
| {% endtab %}         |                                                                                                                                                                                                   |

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

| Name                      | Description                                                                             |
| ------------------------- | --------------------------------------------------------------------------------------- |
| Transformation : `String` | <p>Transformation result as string<br>Example: <code>"{"firstName":"veijo"}"</code></p> |
| JToken : `Object`         | <p>Transformation result as JToken<br>Example: <code>{"firstName": "veijo"}</code></p>  |
| {% endtab %}              |                                                                                         |

{% tab title="Changelog" %}

## Changelog

### \[1.0.2] - 2022-11-2

#### Fixed

* Updated dependency Newtonsoft.Json from 13.0.1 to 12.0.1
* Change JUST.NETcore to JUST.NET version 4.2.0

### \[1.0.1] - 2022-10-31

#### Fixed

* Changed the Result JToken to be dynamic to enable dot notation
* Changed input parameter field default DataFormatString to Json
* Updated documentation
* Fixed tests

### \[1.0.0] - 2022-04-06

#### Added

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