CsvFormat

zio.blocks.schema.csv.CsvFormat
object CsvFormat extends TextFormat[CsvCodec]

CSV text format for schema-driven codec derivation.

Use with Schema[A].derive(CsvFormat) to obtain a CsvCodec[A]. Supports flat case classes (records) and wrapper/newtype types. Variant (sealed trait), sequence, map, and dynamic types are not supported.

Attributes

Source
CsvFormat.scala
Graph
Supertypes
trait Format
class Object
trait Matchable
class Any
Self type
CsvFormat.type

Members list

Type members

Inherited types

Attributes

Inherited from:
TextFormat
Source
Format.scala

Attributes

Inherited from:
TextFormat
Source
Format.scala
final type TypeClass[A] = CsvCodec[A]

Attributes

Inherited from:
TextFormat
Source
Format.scala

Value members

Inherited fields

Attributes

Inherited from:
TextFormat
Source
Format.scala
val mimeType: String

Attributes

Inherited from:
TextFormat
Source
Format.scala

Implicits

Inherited implicits

final implicit def derivable: Derivable[this.type, CsvCodec]

Attributes

Inherited from:
TextFormat
Source
Format.scala