SchematicDocumentDecoder

class Object
trait Matchable
class Any

Type members

Classlikes

Value members

Concrete methods

def bijection[A, B](f: DocumentDecoderMake[A], to: A => B, from: B => A): DocumentDecoderMake[B]
def enumeration[A](to: A => (String, Int), fromName: Map[String, A], fromOrdinal: Map[Int, A]): DocumentDecoderMake[A]
def from[A](expectedType: String)(f: PartialFunction[Document, A]): DocumentDecoderMake[A]
def struct[S](fields: Vector[Field[DocumentDecoderMake, S, _]])(const: Vector[Any] => S): DocumentDecoderMake[S]
def surjection[A, B](f: DocumentDecoderMake[A], to: Refinement[A, B], from: B => A): DocumentDecoderMake[B]
def union[S](first: Alt[DocumentDecoderMake, S, _], rest: Vector[Alt[DocumentDecoderMake, S, _]])(total: S => WithValue[DocumentDecoderMake, S, _]): DocumentDecoderMake[S]