Skip to content

CSV Processor

MarinaRazumovsky edited this page Jan 30, 2018 · 11 revisions

CSV [csv]

  • field
  • targetField (optional)
  • separator (optional)
  • quoteChar (optional)
  • columns [array] (optional)
  • autoGenerateColumnNames [boolean - default = true]
  • skipEmptyColumns [boolean - default = false]
  • convert [this is a json object with key:values where the key is the field and the value is the type as specified in the Convert processor] (optional) EG

Example

{  
  csv: {  
    config: {  
      field: "message"
      separator: "\t"
      columns: ["Shipment", "OrderDT", "PrintDT", "ShipDT", "Commitment", "DelvDate"]
      skipEmptyColumns: "false"
      autoGenerateColumnNames: false
    }
  }
}
Clone this wiki locally