CSV

Frends.CSV.Parse / 1.7.0

Summary

Turns CSV text into typed rows the Process can iterate over, applying column definitions and a culture so that dates and decimals are read the way the file wrote them.

Typical use — the first step when a delimited file drives a loop; the convert Tasks are shortcuts when JSON or XML is all you want

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Input parameters.

Name Type Default Example Description
Csv String 1;Foo;Bar

Input csv string

Delimiter String ; ;

Delimiter.

ColumnSpecifications ColumnSpecification[] [ foo, String ]

You can map columns to specific types. The order of the columns are used for mapping, that means that the ColumnSpecification elements need to be created in the same order as the CSV fields.

An unhandled error has occurred. Reload 🗙