ZioCsvParser

ceesvee.zio.ZioCsvParser$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def parse(options: Options)(implicit trace: Trace): ZPipeline[Any, Error, String, Chunk[String]]

Turns a stream of strings into a stream of CSV records.

Turns a stream of strings into a stream of CSV records.

Attributes

def parseWithHeader[R, E](stream: ZStream[R, E, String], options: Options)(implicit trace: Trace): ZIO[Scope & R, Either[E, Error], (Chunk[String], ZStream[Any, Either[E, Error], Chunk[String]])]

Turns a stream of strings into a stream of CSV records extracting the first record.

Turns a stream of strings into a stream of CSV records extracting the first record.

Attributes

def splitLines(options: Options)(implicit trace: Trace): ZPipeline[Any, Error, String, String]

Split strings into CSV lines using both '\n' and '\r\n' as delimiters.

Split strings into CSV lines using both '\n' and '\r\n' as delimiters.

Delimiters within double-quotes are ignored.

Attributes