Decoder

besom.internal.Decoder$
See theDecoder companion trait

Attributes

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

Members list

Type members

Classlikes

Attributes

Supertypes
trait Decoder[Boolean]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Decoder[Double]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Decoder[Value]
class Object
trait Matchable
class Any
Self type
object jsonDecoder extends Decoder[JsValue]

Attributes

Supertypes
trait Decoder[JsValue]
class Object
trait Matchable
class Any
Self type
object stringDecoder extends Decoder[String]

Attributes

Supertypes
trait Decoder[String]
class Object
trait Matchable
class Any
Self type
object urnDecoder extends Decoder[URN]

Attributes

Supertypes
trait Decoder[URN]
class Object
trait Matchable
class Any
Self type
urnDecoder.type

Value members

Concrete methods

Inherited methods

Attributes

Inherited from:
DecoderHelpers
def decoderSum[A](s: SumOf[A], elems: => List[(String, Decoder[_])]): Decoder[A]

Attributes

Inherited from:
DecoderHelpers
inline def derived[A](using m: Of[A]): Decoder[A]

Attributes

Inherited from:
DecoderHelpers
inline def error(msg: String, cause: Throwable): Nothing

Attributes

Inherited from:
DecoderHelpers
inline def error(msg: String): Nothing

Attributes

Inherited from:
DecoderHelpers
inline def errorLeft(msg: String, cause: Throwable): Either[DecodingError, Nothing]

Attributes

Inherited from:
DecoderHelpers
def unionDecoder[A, B](using aDecoder: Decoder[A], bDecoder: Decoder[B]): Decoder[A | B]

Attributes

Inherited from:
DecoderHelpers

Givens

Inherited givens

given singleOrListDecoder[A : Decoder, L <: List[_] : Decoder]: Decoder[A | L]

Attributes

Inherited from:
DecoderInstancesLowPrio2

Attributes

Inherited from:
DecoderInstancesLowPrio1
given unionJsonDecoder[A : Decoder](implicit evidence$3: Decoder[A], NotGiven[A <:< JsValue]): Decoder[JsValue | A]

Attributes

Inherited from:
DecoderInstancesLowPrio1

Attributes

Inherited from:
DecoderInstancesLowPrio1