meteor.codec.Codec
See theCodec companion object
Provides an encoding and a decoding functions for a given type.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Create a new decoder given a transformation from A to either B or a decoder error
Create a new decoder given a transformation from A to either B or a decoder error
Value parameters
- f
-
a function returning either a value or an error message
Attributes
- Returns
-
a new Decoder of type B
- Inherited from:
- Decoder
Attempt to read a Map of String and AttributeValue to a value of type A
Attempt to read a Map of String and AttributeValue to a value of type A
Value parameters
- av
-
Java Map of String and AttributeValue
Attributes
- Returns
-
either a value of type A or a decoder error
- Inherited from:
- Decoder
Inherited and Abstract methods
Attempt to read an AttributeValue to a value of type A
Attempt to read an AttributeValue to a value of type A
Value parameters
- av
-
Java attribute value object
Attributes
- Returns
-
either a value of type A or a decoder error
- Inherited from:
- Decoder
In this article