csv2array - Convert a CSV to Array of Objects
Converts a csv and parse it into an array of objects. The file must be a valid csv file (not an Excel or GSheet spreadsheet).
file
binary
Could be a comma or tab separated file format.
header
boolean
If true, the first row of the data will be interpreted as field names for the result. Default is true.
Example:
dynamicTyping
boolean
If true, numeric and boolean data will be converted to their type instead of remaining strings. Numeric data must conform to the definition of a decimal literal.Numerical values greater than 2^53 or less than - 2 ^ 53 will not be converted to numbers to preserve precision. Decimal delimiter has to be a '.' Default is true.
Example: