oxygen.json.JsonDecoder
See theJsonDecoder companion trait
object JsonDecoder extends Derivable[JsonDecoder], LowPriority1
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- 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
Unfortunately, scala macros do not allow this to be implemented in Derivable. Therefore, every companion object that extends Derivable must implement this function with the following body: ${ derivedImpl[A] }
Unfortunately, scala macros do not allow this to be implemented in Derivable. Therefore, every companion object that extends Derivable must implement this function with the following body: ${ derivedImpl[A] }
Attributes
- Definition Classes
-
Derivable
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