Fs2CsvReader

class Object
trait Matchable
class Any

Value members

Concrete methods

def decode[F[_] : RaiseThrowable, T](options: Options)(implicit evidence$2: RaiseThrowable[F], D: CsvRecordDecoder[T]): (F, String) => 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.

Raises a ceesvee.CsvParser.Error.LineTooLong if a line is longer than maximumLineLength.

def decodeWithHeader[F[_] : RaiseThrowable, T](header: CsvHeader[T], options: Options): (F, String) => 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.

Raises a ceesvee.CsvParser.Error.LineTooLong if a line is longer than maximumLineLength.

Raises a CsvHeader.MissingHeaders if the first line does not contain all the headers.