# ConvertToJSON

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.FixedWidthFlatFile/>

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

| Name                                | Description                                                                                                                                                                                                                                                         |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| FileContent : `List<Dictionary`2>\` | <p>Fixed width flat file content</p><p><br>Default: <code>-</code><br>Example: <code>\[ { "Name": "Veijo", "Street": "FrendsStr", "StartDate": "2018-05-27T00:00:00" }, { "Name": "Hodor", "Street": "HodorsStr", "StartDate": "2018-01-01T00:00:00" } ]</code></p> |
| culture : `String`                  | <p>Culture format json will be build with</p><p><br>Default: <code>-</code><br>Example: <code>fi-FI</code></p>                                                                                                                                                      |
| {% endtab %}                        |                                                                                                                                                                                                                                                                     |

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

| Name            | Description                                                                                                                                                                                                                                                                                               |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Data : `String` | <p>Column name. If input data contains Header row and value is left empty, header value is used as name.<br>Example: <code>\[ { "Name": "Veijo", "Street": "FrendsStr", "StartDate": "2018-05-27T00:00:00" }, { "Name": "Hodor", "Street": "HodorsStr", "StartDate": "2018-01-01T00:00:00" } ]</code></p> |
| {% endtab %}    |                                                                                                                                                                                                                                                                                                           |

{% tab title="Changelog" %}

## Changelog

### \[1.0.1] - 2023-07-26

#### Added

* Updated documentationof the parameters and modified the Task's documentation.

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

#### Added

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