CSV v2.1.1 CSV.Decoding.Preprocessing.Lines View Source

The CSV lines preprocessor module - aggregates lines in a stream that are part of a common escape sequence.

Link to this section Summary

Functions

Aggregates the common escape sequences of a stream with the given separator

Link to this section Functions

Link to this function process(stream, options \\ []) View Source

Aggregates the common escape sequences of a stream with the given separator.

Options

Options get transferred from the decoder. They are:

  • :separator – The field separator
  • :escape_max_lines – The maximum number of lines to collect in an escaped field