oxygen.json.JsonDecoder
See theJsonDecoder companion trait
object JsonDecoder extends WithInstances[JsonDecoder], LowPriority1
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait LowPriority1trait WithInstances[JsonDecoder]trait Derivable[JsonDecoder]class Objecttrait Matchableclass AnyShow all
- Self type
-
JsonDecoder.type
Members list
Type members
Classlikes
object AnyJsonDecoder extends JsonDecoder[Json]
Attributes
- Supertypes
- Self type
-
AnyJsonDecoder.type
object BigDecimalDecoder extends JsonDecoder[BigDecimal]
Attributes
- Supertypes
- Self type
-
BigDecimalDecoder.type
object BooleanDecoder extends JsonDecoder[Boolean]
Attributes
- Supertypes
- Self type
-
BooleanDecoder.type
final case class ContiguousDecoder[A](decoder: JsonDecoder[A]) extends JsonDecoder[Contiguous[A]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class JsonSubtypeDecoder[A <: Json](filter: Json => Option[A], expTpe: Type) extends JsonDecoder[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonDecoder[A]class Objecttrait Matchableclass AnyShow all
final case class MapDecoder[K, V](k: JsonFieldDecoder[K], v: JsonDecoder[V]) extends JsonDecoder[Map[K, V]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class MapJsonInput[A](decoder: JsonDecoder[A], f: Json => Json) extends JsonDecoder[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonDecoder[A]class Objecttrait Matchableclass AnyShow all
final case class Mapped[A, B](decoder: JsonDecoder[A], f: A => B) extends JsonDecoder[B]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonDecoder[B]class Objecttrait Matchableclass AnyShow all
final case class MappedOrFail[A, B](decoder: JsonDecoder[A], f: A => Either[String, B]) extends JsonDecoder[B]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonDecoder[B]class Objecttrait Matchableclass AnyShow all
final case class OptionDecoder[A](decoder: JsonDecoder[A]) extends JsonDecoder[Option[A]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class OrElse[A, B >: A](a: JsonDecoder[A], b: JsonDecoder[B]) extends JsonDecoder[B]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonDecoder[B]class Objecttrait Matchableclass AnyShow all
final case class SpecifiedDecoder[A](decoder: JsonDecoder[A]) extends JsonDecoder[Specified[A]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object StringDecoder extends JsonDecoder[String]
Attributes
- Supertypes
- Self type
-
StringDecoder.type
object TupleDecoder
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TupleDecoder.type
sealed trait TupleDecoder[A <: Tuple] extends JsonDecoder[A]
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Value members
Concrete methods
Inherited methods
final override protected def internalDeriveProduct[Q <: Quotes, A](k0: K0[Q])(g: k0.ProductGeneric[A])(using quotes: Q, aTpe: Type[A], tTpe: Type[JsonDecoder]): Expr[JsonDecoder[A]]
Attributes
- Definition Classes
-
WithInstances -> Derivable
- Inherited from:
- WithInstances
final override protected def internalDeriveSum[Q <: Quotes, A](k0: K0[Q])(g: k0.SumGeneric[A])(using quotes: Q, aTpe: Type[A], tTpe: Type[JsonDecoder]): Expr[JsonDecoder[A]]
Attributes
- Definition Classes
-
WithInstances -> Derivable
- Inherited from:
- WithInstances
Givens
Givens
Inherited givens
Attributes
- Inherited from:
- LowPriority1
given nonEmptySeq[S1[_], S2[_], A](using ne: Aux[S1, S2])(using decoder: JsonDecoder[S1[A]]): JsonDecoder[S2[A]]
Attributes
- Inherited from:
- LowPriority1
In this article