SerializationPack

reactivemongo.api.SerializationPack
See theSerializationPack companion object

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
Singleton

Members list

Concise view

Type members

Types

type Document <: Value
type Reader[A]
type Value
type Writer[A]

Value members

Abstract methods

def deserialize[A](document: Document, reader: Reader[A]): A
def isEmpty(document: Document): Boolean

Returns true if the given document is empty.

Returns true if the given document is empty.

Attributes

def serialize[A](a: A, writer: Writer[A]): Document
def widenReader[T](r: NarrowValueReader[T]): WidenValueReader[T]
def writer[A](f: A => Document): Writer[A]

Prepares a writer from the given serialization function.

Prepares a writer from the given serialization function.

Attributes

Inherited fields

Attributes

Inherited from:
SerializationPackCompat (hidden)

Attributes

Inherited from:
SerializationPackCompat (hidden)