JsonCodecs

skunk.circe.codec.JsonCodecs
trait JsonCodecs

Attributes

Source
JsonCodecs.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object all.type
object json.type

Members list

Value members

Concrete methods

def json[A : Decoder]: Codec[A]

Construct a codec for A, coded as Json, mapped to the json schema type.

Construct a codec for A, coded as Json, mapped to the json schema type.

Attributes

Source
JsonCodecs.scala
def jsonb[A : Decoder]: Codec[A]

Construct a codec for A, coded as Json, mapped to the jsonb schema type.

Construct a codec for A, coded as Json, mapped to the jsonb schema type.

Attributes

Source
JsonCodecs.scala

Concrete fields

val json: Codec[Json]

Codec for Json values, mapped to the json schema type.

Codec for Json values, mapped to the json schema type.

Attributes

Source
JsonCodecs.scala
val jsonb: Codec[Json]

Codec for Json values, mapped to the jsonb schema type.

Codec for Json values, mapped to the jsonb schema type.

Attributes

Source
JsonCodecs.scala