MapDecoder

oxygen.json.JsonDecoder.MapDecoder
final case class MapDecoder[K, V](k: JsonFieldDecoder[K], v: JsonDecoder[V]) extends JsonDecoder[Map[K, V]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JsonDecoder[Map[K, V]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decodeJsonAST(ast: Json): Either[JsonError, Map[K, V]]

Attributes

Definition Classes

Inherited methods

final def <>[B >: Map[K, V]](that: JsonDecoder[B]): JsonDecoder[B]

Attributes

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

Attributes

Inherited from:
JsonDecoder
final def map[B](f: Map[K, V] => B): JsonDecoder[B]

Attributes

Inherited from:
JsonDecoder
final def mapAttempt[B](f: Map[K, V] => B)(using typeTag: TypeTag[B]): JsonDecoder[B]

Attributes

Inherited from:
JsonDecoder
final def mapJsonInput(f: PartialFunction[Json, Json]): JsonDecoder[Map[K, V]]

Attributes

Inherited from:
JsonDecoder
final def mapOrFail[B](f: Map[K, V] => 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

Inherited fields

val onMissingFromObject: Option[Map[K, V]]

Attributes

Inherited from:
JsonDecoder