MapJsonInput

oxygen.json.JsonDecoder.MapJsonInput
final case class MapJsonInput[A](decoder: JsonDecoder[A], f: Json => Json) extends JsonDecoder[A]

Attributes

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

Members list

Value members

Concrete methods

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

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
JsonDecoder
final def mapOrFail[B](f: 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[A]