JsonFormat

zio.blocks.schema.json.JsonFormat

An object that represents the JSON format used for serialization and deserialization.

It extends the BinaryFormat class, specifying "application/json" as the MIME type and utilizing the JsonCodecDeriver for deriving the necessary codecs.

Attributes

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

Members list

Type members

Inherited types

Attributes

Inherited from:
BinaryFormat
Source
Format.scala

Attributes

Inherited from:
BinaryFormat
Source
Format.scala
final type TypeClass[A] = JsonCodec[A]

Attributes

Inherited from:
BinaryFormat
Source
Format.scala

Value members

Inherited fields

Attributes

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

Attributes

Inherited from:
BinaryFormat
Source
Format.scala

Implicits

Inherited implicits

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

Attributes

Inherited from:
BinaryFormat
Source
Format.scala