MappedObject

oxygen.json.JsonDecoder.MappedObject
final case class MappedObject[A, B](decoder: ObjectDecoder[A], f: A => B) extends ObjectDecoder[B]

Attributes

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

Members list

Value members

Concrete methods

override def decodeJsonObjectAST(ast: Obj): Either[JsonError, B]

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
JsonDecoder
final override def decodeJsonAST(ast: Json): Either[JsonError, B]

Attributes

Definition Classes
Inherited from:
ObjectDecoder
final def decodeJsonString(string: String): Either[JsonError, B]

Attributes

Inherited from:
JsonDecoder
override def map[B](f: B => B): ObjectDecoder[B]

Attributes

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

Attributes

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

Attributes

Inherited from:
JsonDecoder
override def mapOrFail[B](f: B => Either[String, B]): ObjectDecoder[B]

Attributes

Definition Classes
Inherited from:
ObjectDecoder
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val onMissingFromObject: Option[B]