BackendCodec

edomata.doobie.BackendCodec
See theBackendCodec companion trait
object BackendCodec

Attributes

Companion
trait
Source
BackendCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final class Binary[T](encode: T => Array[Byte], decode: Array[Byte] => Either[String, T]) extends BackendCodec[T]

Attributes

Source
BackendCodec.scala
Supertypes
trait BackendCodec[T]
class Object
trait Matchable
class Any
final class Json[T](encode: T => String, decode: String => Either[String, T]) extends JsonBase[T]

Attributes

Source
BackendCodec.scala
Supertypes
class JsonBase[T]
trait BackendCodec[T]
class Object
trait Matchable
class Any
final class JsonB[T](encode: T => String, decode: String => Either[String, T]) extends JsonBase[T]

Attributes

Source
BackendCodec.scala
Supertypes
class JsonBase[T]
trait BackendCodec[T]
class Object
trait Matchable
class Any
sealed abstract class JsonBase[T](put: Put[PGobject], get: Get[PGobject], val tpe: String)(encode: T => String, decode: String => Either[String, T]) extends BackendCodec[T]

Attributes

Source
BackendCodec.scala
Supertypes
trait BackendCodec[T]
class Object
trait Matchable
class Any
Known subtypes
class Json[T]
class JsonB[T]