Document

object Document
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class DArray(value: IndexedSeq[Document]) extends Document
case class DBoolean(value: Boolean) extends Document
case object DNull extends Document
case class DNumber(value: BigDecimal) extends Document
case class DObject(value: Map[String, Document]) extends Document
case class DString(value: String) extends Document
object Decoder
Companion:
class
trait Decoder[A]
Companion:
object
object Encoder
Companion:
class
trait Encoder[A]
Companion:
object

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def array(values: Document*): Document
def array(values: Iterable[Document]): Document
def decode[A](document: Document)(implicit decoder: Decoder[A]): Either[PayloadError, A]
def encode[A](a: A)(implicit encoder: Encoder[A]): Document
def fromBigDecimal(bigDecimal: BigDecimal): Document
def fromBoolean(bool: Boolean): Document
def fromDouble(double: Double): Document
def fromInt(int: Int): Document
def fromLong(long: Long): Document
def fromString(str: String): Document
def obj(kv: (String, Document)*): Document