Document

smithy4s.Document
See theDocument companion trait
object Document

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Document.type

Members list

Type members

Classlikes

case class DArray(value: IndexedSeq[Document]) extends Document

Attributes

Supertypes
trait Document
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DBoolean(value: Boolean) extends Document

Attributes

Supertypes
trait Document
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object DNull extends Document

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Document
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
DNull.type
case class DNumber(value: BigDecimal) extends Document

Attributes

Supertypes
trait Document
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DObject(value: Map[String, Document]) extends Document

Attributes

Supertypes
trait Document
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DString(value: String) extends Document

Attributes

Supertypes
trait Document
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Decoder extends DerivingImpl[Decoder]

Attributes

Supertypes
class Impl[Decoder]
class Object
trait Matchable
class Any
Show all
Self type
Decoder.type
object Encoder extends DerivingImpl[Encoder]

Attributes

Companion
trait
Supertypes
class Impl[Encoder]
class Object
trait Matchable
class Any
Show all
Self type
Encoder.type
trait Encoder[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Types

type Decoder[A] = Decoder[[_] =>> Either[PayloadError, _$2], Document, A]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

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

Implicits

Implicits

implicit def decoderFromSchema[A : Schema]: Decoder[A]