CSV to JSON
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation converts a CSV file to JSON format.
These are the input/output expected data types for this operation:
- CSV-formatted strings you want to transform into JSON.
- Resulting JSON-formatted strings.
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Suppose you want to convert a series of events in CSV format into JSON:
In the Operation field, choose CSV to JSON.
Set Cell delimiter to ,
(comma).
Set Format to Array of dictionaries.
Give your Output field a name and click Save. The CSV strings in your input field will be transformed into JSON.
For example, the following CSV:
will be transformed into this JSON:
In your Pipeline, open the required configuration and select the input Field.