Format

zio.blocks.schema.codec.Format
sealed trait Format

A format is a type that represents a specific serialization format, such as Avro or JSON. Each format should have a unique MIME type that identifies it, which is used both for debugging purposes, and potentially in transport, depending on the protocol.

A format is associated with a specific type class, such as BinaryCodec for binary formats, or TextCodec for text formats, and a deriver that can be used to derive the codec for the format.

Attributes

Source
Format.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BinaryFormat[TC]
object AvroFormat
object JsonFormat
object ThriftFormat
object ToonFormat
object XmlFormat
object YamlFormat
class TextFormat[TC]
object CsvFormat
Show all

Members list

Type members

Types

Attributes

Source
Format.scala

Attributes

Source
Format.scala

Attributes

Source
Format.scala

Value members

Abstract methods

Attributes

Source
Format.scala
def mimeType: String

Attributes

Source
Format.scala