Fs2CsvReader
ceesvee.fs2.Fs2CsvReader$
object Fs2CsvReader
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Fs2CsvReader.type
Members list
Concise view
Value members
Concrete methods
def decode[F[_], T](options: Options)(implicit F: RaiseThrowable[F], D: CsvRecordDecoder[T]): (F, String) => Either[Errors, 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
.
Attributes
def decodeWithHeader[F[_], T](header: CsvHeader[T], options: Options)(using evidence$1: RaiseThrowable[F]): (F, String) => Either[Errors, 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.