object JsonConfig

Source
JsonConfig.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(bigDecimalParseConfig: BigDecimalParseConfig, bigDecimalSerializerConfig: BigDecimalSerializerConfig): JsonConfig
  2. def apply(): JsonConfig
  3. 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

  4. val defaultMathContext: MathContext

    The default math context ("decimal128").

  5. val defaultMaxPlain: BigDecimal

    The default maximum magnitude of BigDecimal to write out as a plain string.

  6. val defaultMinPlain: BigDecimal

    The default minimum magnitude of BigDecimal to write out as a plain string.

  7. 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.

  8. 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

  9. val digitsLimitProperty: String

    The system property to override the digits limit

  10. 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".

  11. val maxPlainProperty: String

    The system property to override the maximum magnitude of BigDecimal to write out as a plain string

  12. val minPlainProperty: String

    The system property to override the minimum magnitude of BigDecimal to write out as a plain string

  13. 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.

  14. val scaleLimitProperty: String

    The system property to override the scale limit.

  15. val settings: JsonConfig