← ZIO BSON docs

BsonCodec

zio.bson.BsonCodec
See theBsonCodec companion class

Attributes

Companion
class
Source
BsonCodec.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
BsonCodec.type

Members list

Type members

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply[A](implicit codec: BsonCodec[A]): BsonCodec[A]

Attributes

Source
BsonCodec.scala
def apply[A](encoder: BsonEncoder[A], decoder: BsonDecoder[A]): BsonCodec[A]

Attributes

Source
BsonCodec.scala

Implicits

Implicits

Attributes

Source
BsonCodec.scala
implicit val bigInt: BsonCodec[BigInt]

Attributes

Source
BsonCodec.scala
implicit val bigInteger: BsonCodec[BigInteger]

Attributes

Source
BsonCodec.scala
implicit val boolean: BsonCodec[Boolean]

Attributes

Source
BsonCodec.scala
implicit val byte: BsonCodec[Byte]

Attributes

Source
BsonCodec.scala
implicit val char: BsonCodec[Char]

Attributes

Source
BsonCodec.scala
implicit val currency: BsonCodec[Currency]

Attributes

Source
BsonCodec.scala
implicit val dayOfWeek: BsonCodec[DayOfWeek]

Attributes

Source
BsonCodec.scala
implicit val double: BsonCodec[Double]

Attributes

Source
BsonCodec.scala
implicit val duration: BsonCodec[Duration]

Attributes

Source
BsonCodec.scala
implicit val float: BsonCodec[Float]

Attributes

Source
BsonCodec.scala
implicit val instant: BsonCodec[Instant]

Attributes

Source
BsonCodec.scala
implicit val int: BsonCodec[Int]

Attributes

Source
BsonCodec.scala
implicit val javaBigDecimal: BsonCodec[BigDecimal]

Attributes

Source
BsonCodec.scala
implicit val localDate: BsonCodec[LocalDate]

Attributes

Source
BsonCodec.scala
implicit val localDateTime: BsonCodec[LocalDateTime]

Attributes

Source
BsonCodec.scala
implicit val localTime: BsonCodec[LocalTime]

Attributes

Source
BsonCodec.scala
implicit val long: BsonCodec[Long]

Attributes

Source
BsonCodec.scala
implicit val month: BsonCodec[Month]

Attributes

Source
BsonCodec.scala
implicit val monthDay: BsonCodec[MonthDay]

Attributes

Source
BsonCodec.scala
implicit val objectId: BsonCodec[ObjectId]

Attributes

Source
BsonCodec.scala
implicit lazy val offsetDateTime: BsonCodec[OffsetDateTime]

Attributes

Source
BsonCodec.scala
implicit lazy val offsetTime: BsonCodec[OffsetTime]

Attributes

Source
BsonCodec.scala
implicit def option[A](implicit encoder: BsonEncoder[A], decoder: BsonDecoder[A]): BsonCodec[Option[A]]

Attributes

Source
BsonCodec.scala
implicit val period: BsonCodec[Period]

Attributes

Source
BsonCodec.scala
implicit val short: BsonCodec[Short]

Attributes

Source
BsonCodec.scala
implicit val string: BsonCodec[String]

Attributes

Source
BsonCodec.scala
implicit val symbol: BsonCodec[Symbol]

Attributes

Source
BsonCodec.scala
implicit val uuid: BsonCodec[UUID]

Attributes

Source
BsonCodec.scala
implicit val year: BsonCodec[Year]

Attributes

Source
BsonCodec.scala
implicit val yearMonth: BsonCodec[YearMonth]

Attributes

Source
BsonCodec.scala
implicit val zoneId: BsonCodec[ZoneId]

Attributes

Source
BsonCodec.scala
implicit val zoneOffset: BsonCodec[ZoneOffset]

Attributes

Source
BsonCodec.scala
implicit lazy val zonedDateTime: BsonCodec[ZonedDateTime]

Attributes

Source
BsonCodec.scala

Inherited implicits

implicit def array[A : BsonEncoder : BsonDecoder : ClassTag]: BsonCodec[Array[A]]

Attributes

Inherited from:
LowPriorityCollectionCodecs
Source
BsonCodec.scala
implicit def bsonValueDecoder[T <: BsonValue : ClassTag]: BsonCodec[T]

Attributes

Inherited from:
BsonValueCodecs
Source
BsonCodec.scala
implicit val byteArray: BsonCodec[Array[Byte]]

Attributes

Inherited from:
CollectionCodecs
Source
BsonCodec.scala
implicit def byteIterable[CC <: (Iterable)](implicit factory: Factory[Byte, CC[Byte]]): BsonCodec[CC[Byte]]

Attributes

Inherited from:
CollectionCodecs
Source
BsonCodec.scala

Attributes

Inherited from:
CollectionCodecs
Source
BsonCodec.scala
implicit def iterable[A, CC <: (Iterable)](implicit evidence$1: BsonEncoder[A], evidence$2: BsonDecoder[A], factory: Factory[A, CC[A]]): BsonCodec[CC[A]]

Attributes

Inherited from:
LowPriorityCollectionCodecs
Source
BsonCodec.scala
implicit def map[K, V, CC <: (Map)](implicit evidence$1: BsonFieldEncoder[K], evidence$2: BsonFieldDecoder[K], evidence$3: BsonEncoder[V], evidence$4: BsonDecoder[V], factory: Factory[(K, V), CC[K, V]]): BsonCodec[CC[K, V]]

Attributes

Inherited from:
CollectionCodecs
Source
BsonCodec.scala

Attributes

Inherited from:
LowPriorityCollectionCodecs
Source
BsonCodec.scala