BigDecimalParseConfig

play.api.libs.json.BigDecimalParseConfig
See theBigDecimalParseConfig companion object
sealed trait BigDecimalParseConfig

Parse and serialization settings for BigDecimals. Defines limits that will be used when parsing the BigDecimals, like how many digits are accepted.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def digitsLimit: Int

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

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

Attributes

def mathContext: MathContext

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

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

Attributes

def scaleLimit: Int

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

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

Attributes