SpecifiedDecoder

oxygen.json.JsonDecoder.SpecifiedDecoder
final case class SpecifiedDecoder[A](decoder: JsonDecoder[A]) extends JsonDecoder[Specified[A]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JsonDecoder[Specified[A]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decodeJsonAST(ast: Json): Either[JsonError, Specified[A]]

Attributes

Definition Classes

Inherited methods

final def <>[B >: Specified[A]](that: JsonDecoder[B]): JsonDecoder[B]

Attributes

Inherited from:
JsonDecoder
final def decodeJsonString(string: String): Either[JsonError, Specified[A]]

Attributes

Inherited from:
JsonDecoder
final def map[B](f: Specified[A] => B): JsonDecoder[B]

Attributes

Inherited from:
JsonDecoder
final def mapAttempt[B](f: Specified[A] => B)(using typeTag: TypeTag[B]): JsonDecoder[B]

Attributes

Inherited from:
JsonDecoder
final def mapJsonInput(f: PartialFunction[Json, Json]): JsonDecoder[Specified[A]]

Attributes

Inherited from:
JsonDecoder
final def mapOrFail[B](f: Specified[A] => Either[String, B]): JsonDecoder[B]

Attributes

Inherited from:
JsonDecoder
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val onMissingFromObject: Option[Specified[A]]