CsvConfig

zio.blocks.schema.csv.CsvConfig
See theCsvConfig companion object
final case class CsvConfig(delimiter: Char = ..., quoteChar: Char = ..., lineTerminator: String = ..., hasHeader: Boolean = ..., nullValue: String = ...)

Configuration for CSV parsing and generation.

Value parameters

delimiter

The character used to separate fields (default: ',')

hasHeader

Whether the first row contains column headers (default: true)

lineTerminator

The line terminator sequence (default: "\r\n" for RFC 4180)

nullValue

The string representation for null values (default: "")

quoteChar

The character used to quote fields containing special characters (default: '"'). Escaping within quoted fields is done by doubling the quote character per RFC 4180.

Attributes

Companion
object
Source
CsvConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala