Decoder

meteor.codec.Decoder
See theDecoder companion trait
object Decoder

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Decoder.type

Members list

Type members

Types

type FailureOr[U] = Either[DecoderError, U]

Value members

Concrete methods

def apply[A](implicit dd: Decoder[A]): Decoder[A]
def const[A](a: A): Decoder[A]
def failed[A](failure: DecoderError): Decoder[A]
def instance[A](f: AttributeValue => Either[DecoderError, A]): Decoder[A]

Create a new instance of Decoder for type A. Helper methods and more examples can be found in meteor.syntax.

Create a new instance of Decoder for type A. Helper methods and more examples can be found in meteor.syntax.

Attributes

Implicits

Implicits

implicit val dynamoDecoderForAttributeValue: Decoder[AttributeValue]
implicit val dynamoDecoderForBigDecimal: Decoder[BigDecimal]
implicit val dynamoDecoderForBigInt: Decoder[BigInt]
implicit val dynamoDecoderForBoolean: Decoder[Boolean]
implicit val dynamoDecoderForByte: Decoder[Byte]
implicit val dynamoDecoderForByteArray: Decoder[Array[Byte]]
implicit val dynamoDecoderForDouble: Decoder[Double]
implicit val dynamoDecoderForFloat: Decoder[Float]
implicit val dynamoDecoderForInstant: Decoder[Instant]
implicit val dynamoDecoderForInt: Decoder[Int]
implicit def dynamoDecoderForList[A : Decoder]: Decoder[List[A]]
implicit val dynamoDecoderForListByteArray: Decoder[List[Array[Byte]]]
implicit val dynamoDecoderForLong: Decoder[Long]
implicit def dynamoDecoderForMap[A : Decoder]: Decoder[Map[String, A]]
implicit def dynamoDecoderForSeq[A : Decoder]: Decoder[Seq[A]]
implicit val dynamoDecoderForSeqByteArray: Decoder[Seq[Array[Byte]]]
implicit val dynamoDecoderForShort: Decoder[Short]
implicit val dynamoDecoderForString: Decoder[String]
implicit val dynamoDecoderForUUID: Decoder[UUID]
implicit val dynamoDecoderForUnit: Decoder[Unit]
implicit def monadForDynamoDbDecoder: Monad[Decoder]