Skip to main content

CSVStringify

Reference

Parameters

data

Can be any of:

  • An array of arrays
  • An array of objects
  • An object explicitly defining fields and data

Component data2-core-types@Getter

config

Optional config parameters

Component data2-core-primitives@Object

  • columns: data2-core-primitives@String
  • If data is an array of objects this option can be used to manually specify the keys (columns) you expect in the objects. If not set the keys of the first objects are used as column.