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

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def array(values: 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 fromDouble(double: Double): Document
def fromInt(int: Int): Document
def fromLong(long: Long): Document
def obj(kv: (String, Document)*): Document