CsvReader
object CsvReader
Value members
Concrete methods
def decode[T](in: Iterator[String], options: Options)(implicit D: CsvRecordDecoder[T]): Iterator[Either[Error, T]]
Turns a stream of strings into a stream of decoded CSV records.
Turns a stream of strings into a stream of decoded CSV records.
The given strings must contain new lines as this method splits on them.
Blank lines and lines starting with '#' are ignored.
def decodeWithHeader[T](in: Iterator[String], header: CsvHeader[T], options: Options): Either[MissingHeaders, Iterator[Either[Error, T]]]
Turns a stream of strings into a stream of decoded CSV records.
Turns a stream of strings into a stream of decoded CSV records.
CSV lines are reordered based on the given headers.