> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.converters.CSV2JSON

- Component: `appmixer.utils.converters.CSV2JSON`
- Kind: Action
- Version: 1.1.0
- Visibility: Public
- Connector: [appmixer.utils.converters 2.0.1](https://connectors.appmixer.com/connector/appmixer.utils.converters/2.0.1.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.converters/2.0.1/component/appmixer.utils.converters.CSV2JSON>

Convert a CSV file to JSON.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| File ID (`fileId`) | filepicker | The ID of the file to convert. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| File ID (`fileId`) | string | - |
| File Name (`fileName`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.converters.CSV2JSON",
  "author": "David Durman <david@client.io>",
  "description": "Convert a CSV file to JSON.",
  "private": false,
  "version": "1.1.0",
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "properties": {
          "fileId": {
            "type": "string"
          }
        },
        "required": [
          "fileId"
        ]
      },
      "inspector": {
        "inputs": {
          "fileId": {
            "type": "filepicker",
            "label": "File ID",
            "index": 1,
            "tooltip": "The ID of the file to convert."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "File ID",
          "value": "fileId",
          "schema": {
            "type": "string",
            "example": "a1686006-35c8-4ffc-b23e-d687858cd418"
          }
        },
        {
          "label": "File Name",
          "value": "fileName",
          "schema": {
            "type": "string",
            "example": "report.json"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
