trait BsonCodec[A, BSON <: BsonValue] extends AnyRef

Self Type
BsonCodec[A, BSON]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BsonCodec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fromBson(bson: BSON): A
  2. abstract def toBson(a: A): BSON

Concrete Value Members

  1. def collection[C[X] <: TraversableOnce[X]](implicit cbf: CanBuildFrom[Nothing, A, C[A]]): BsonCodec[C[A], BsonArray]
  2. def key(key: String): DocKey[A, BSON]
  3. def map[B](fa: (A) ⇒ B, fb: (B) ⇒ A): BsonCodec[B, BSON]