Packages

trait BsonTransformer[-T] extends AnyRef

BsonTransformers allow the transformation of type T to their corresponding BsonValue.

Custom implementations can be written to implicitly to convert a T into a BsonValue so it can be stored in a Document.

T

the type of value to be transformed into a BsonValue.

Annotations
@implicitNotFound("No bson implicit transformer found for type ${T}. Implement or import an implicit BsonTransformer for this type.")
Since

1.0

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BsonTransformer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(value: T): BsonValue

    Convert the object into a BsonValue