sample
turbot/flowpipe-samples/csv-to-json
Get Involved
Version
Pipeline: Convert Local CSV File to JSON
Read a CSV file and transform it into JSON format.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run csv_to_json.pipeline.local_csv_file_to_json \ --arg 'local_csv_file_path=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = csv_to_json.pipeline.local_csv_file_to_json args = { local_csv_file_path = <string> }}Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| local_csv_file_path | string | Yes | Path to the CSV file. | - |
Outputs
| Name | Description |
|---|---|
| csv_contents | Contents of the local CSV file. |
| csv_decoded | Decoded data from the CSV file. |
| csv_to_json | CSV file converted to JSON. |
Tags
recommended = true