BigDecimalDecoder

oxygen.json.JsonDecoder.BigDecimalDecoder
object BigDecimalDecoder extends JsonDecoder[BigDecimal]

Attributes

Graph
Supertypes
trait JsonDecoder[BigDecimal]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

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

Attributes

Definition Classes
def narrow[A](to: BigDecimal => A, from: A => BigDecimal): JsonDecoder[A]
def narrowWhole[A](to: BigDecimal => A, from: A => BigDecimal): JsonDecoder[A]

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
JsonDecoder

Inherited fields

val onMissingFromObject: Option[BigDecimal]

Attributes

Inherited from:
JsonDecoder