c

play.api.libs.json

BigDecimalParseSettings

final case class BigDecimalParseSettings(mathContext: MathContext = MathContext.DECIMAL128, scaleLimit: Int, digitsLimit: Int) extends BigDecimalParseConfig with Product with Serializable

Annotations
@deprecated
Deprecated

(Since version 2.9.4) Use BigDecimalParseConfig instead

Source
JsonConfig.scala
Linear Supertypes
Serializable, Product, Equals, BigDecimalParseConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BigDecimalParseSettings
  2. Serializable
  3. Product
  4. Equals
  5. BigDecimalParseConfig
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BigDecimalParseSettings(mathContext: MathContext = MathContext.DECIMAL128, scaleLimit: Int, digitsLimit: Int)

Value Members

  1. val digitsLimit: Int

    How many digits are accepted, also related to the math context used.

    How many digits are accepted, also related to the math context used. The default value is . This can be set using the JsonConfig.digitsLimitProperty system property.

    Definition Classes
    BigDecimalParseConfig
  2. val mathContext: MathContext

    The MathContext used when parsing, which will be "decimal32", "decimal64", "decimal128" (default), or "unlimited".

    The MathContext used when parsing, which will be "decimal32", "decimal64", "decimal128" (default), or "unlimited". This can be set using the JsonConfig.mathContextProperty system property.

    Definition Classes
    BigDecimalParseConfig
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val scaleLimit: Int

    Limits the scale, and it is related to the math context used.

    Limits the scale, and it is related to the math context used. The default value is . This can be set using the JsonConfig.scaleLimitProperty system property.

    Definition Classes
    BigDecimalParseConfig