object JsonConfig
- Source
- JsonConfig.scala
- Alphabetic
- By Inheritance
- JsonConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def apply(bigDecimalParseConfig: BigDecimalParseConfig, bigDecimalSerializerConfig: BigDecimalSerializerConfig): JsonConfig
- def apply(): JsonConfig
- val defaultDigitsLimit: Int
The default limit for digits considering the default MathContext of decimal128.
The default limit for digits considering the default MathContext of decimal128. 307 digits should be the correct value for 128 bytes. But we are using 310 because Play JSON uses BigDecimal to parse any number including Doubles and Doubles max value has 309 digits, so we are using 310 here
- val defaultMathContext: MathContext
The default math context ("decimal128").
- val defaultMaxPlain: BigDecimal
The default maximum magnitude of BigDecimal to write out as a plain string.
- val defaultMinPlain: BigDecimal
The default minimum magnitude of BigDecimal to write out as a plain string.
- val defaultPreserveZeroDecimal: Boolean
Zero decimal values (e.g.
Zero decimal values (e.g. .0 or .00) or dropped by default. For example, a value of 1.0 or 1.00 will be serialized as 1.
- val defaultScaleLimit: Int
The default limit for the scale considering the default MathContext of decimal128.
The default limit for the scale considering the default MathContext of decimal128. limit for scale for decimal128: BigDecimal("0." + "0" * 33 + "1e-6143", java.math.MathContext.DECIMAL128).scale + 1
- val digitsLimitProperty: String
The system property to override the digits limit
- val mathContextProperty: String
The system property to override the math context.
The system property to override the math context. This can be "decimal32", "decimal64", "decimal128" (the default), or "unlimited".
- val maxPlainProperty: String
The system property to override the maximum magnitude of BigDecimal to write out as a plain string
- val minPlainProperty: String
The system property to override the minimum magnitude of BigDecimal to write out as a plain string
- val preserveZeroDecimalProperty: String
The system property to override whether zero decimals (e.g.
The system property to override whether zero decimals (e.g. .0 or .00) are written by default. These are dropped by default.
- val scaleLimitProperty: String
The system property to override the scale limit.
- val settings: JsonConfig