Packages

object BSON

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

Value Members

  1. def read[B <: BSONValue, T](bson: B)(implicit reader: BSONReader[B, T]): T

    Produces a T instance of the given BSON value, if there is an implicit BSONReader[B, T] in the scope.

    Produces a T instance of the given BSON value, if there is an implicit BSONReader[B, T] in the scope.

    Prefer readDocument over this one if you want to deserialize BSONDocuments.

  2. def readDocument[T](doc: BSONDocument)(implicit reader: BSONReader[BSONDocument, T]): T

    Produces a T instance of the given BSONDocument, if there is an implicit BSONReader[BSONDocument, T] in the scope.

  3. def write[T, B <: BSONValue](t: T)(implicit writer: BSONWriter[T, B]): B

    Produces a BSONValue instance of the given T value, if there is an implicit BSONWriter[T, B] in the scope.

    Produces a BSONValue instance of the given T value, if there is an implicit BSONWriter[T, B] in the scope.

    Prefer writeDocument over this one if you want to serialize T instances.

  4. def writeDocument[T](t: T)(implicit writer: BSONWriter[T, BSONDocument]): BSONDocument

    Produces a BSONDocument of the given T instance, if there is an implicit BSONWriter[T, BSONDocument] in the scope.