ZioCsvReader
object ZioCsvReader
Value members
Concrete methods
def decode[T](options: Options)(implicit D: CsvRecordDecoder[T]): ZTransducer[Any, Error, 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.
def decodeWithHeader[R, E, T](stream: ZStream[R, E, String], header: CsvHeader[T], options: Options): ZManaged[R, Either[Either[E, Error], MissingHeaders], ZStream[R, Either[E, Error], 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.