# CSV to JSON

#### Overview

The **CSV2JSON** component converts a CSV file into a JSON file.

#### Input Parameters

| Parameter | Type     | Required | Description                        |
| --------- | -------- | -------- | ---------------------------------- |
| `fileId`  | `string` | ✅        | The ID of the CSV file to convert. |

#### Output Parameters

| Parameter  | Type     | Description                               |
| ---------- | -------- | ----------------------------------------- |
| `fileId`   | `string` | The unique ID of the generated JSON file. |
| `fileName` | `string` | The name of the generated JSON file.      |

#### Instructions

1. **Provide File ID:**
   * Select or upload the CSV file to be converted.
2. **Processing:**
   * The component processes the CSV file and converts it into JSON format.
3. **Output:**
   * The converted JSON file is available with its unique `fileId` and `fileName`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmixer.com/connector-configuration/utils/converters/csv2json.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
