Codec

meteor.codec.Codec
See theCodec companion trait
object Codec

Attributes

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

Members list

Value members

Concrete methods

def apply[A](implicit codec: Codec[A]): Codec[A]
def iso[A : Codec, B](fa: A => B)(fb: B => A): Codec[B]

Returns a new Codec of type B given isomorphic functions of A to B and B to A

Returns a new Codec of type B given isomorphic functions of A to B and B to A

Attributes

Implicits

Implicits

implicit def dynamoCodecFromEncoderAndDecoder[A](implicit encoder: Encoder[A], decoder: Decoder[A]): Codec[A]

Returns a new Codec for the specified type given an Encoder and a Decoder in scope for the type.

Returns a new Codec for the specified type given an Encoder and a Decoder in scope for the type.

Attributes