object Decoder extends Serializable
- Alphabetic
- By Inheritance
- Decoder
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- implicit def decoderFromExported[E, D, F, T](implicit da: DerivedDecoder[E, D, F, T]): Decoder[E, D, F, T]
-
implicit
def
eitherDecoder[E, D1, D2, F, T](implicit d1: Decoder[E, D1, F, T], d2: Decoder[E, D2, F, T]): Decoder[E, Either[D1, D2], F, T]
Provides a Decoder instance for
Either[A, B], provided bothAandBhave a Decoder instance. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
from[E, D, F, T](f: (E) ⇒ Either[F, D]): Decoder[E, D, F, T]
Creates a new Decoder instance that applies the specified function when decoding.
-
def
fromUnsafe[E, D, F, T](f: (E) ⇒ D)(implicit arg0: IsError[F]): Decoder[E, D, F, T]
Turns an unsafe function into a Decoder.
Turns an unsafe function into a Decoder.
The specified function is assumed to throw, and errors will be dealt with properly.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
oneOf[E, D, F, T](ds: Decoder[E, D, F, T]*)(implicit arg0: IsError[F]): Decoder[E, D, F, T]
Creates a new decoder using all specified values.
Creates a new decoder using all specified values.
The generated decoder will try each of the specified decoders in turn, and return either the first success or, if none is found, the last failure.
- implicit def optionalDecoder[E, D, F, T](implicit arg0: Optional[E], da: Decoder[E, D, F, T]): Decoder[E, Option[D], F, T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )