c

play.api.libs.json

BigDecimalSerializerSettings

final case class BigDecimalSerializerSettings(minPlain: BigDecimal, maxPlain: BigDecimal) extends BigDecimalSerializerConfig with Product with Serializable

Annotations
@deprecated
Deprecated

(Since version 2.9.4) Use BigDecimalSerializerConfig instead

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

Instance Constructors

  1. new BigDecimalSerializerSettings(minPlain: BigDecimal, maxPlain: BigDecimal)

Value Members

  1. val maxPlain: BigDecimal

    Maximum magnitude of BigDecimal to write out as a plain string.

    Maximum magnitude of BigDecimal to write out as a plain string. Defaults to . This can be set using the JsonConfig.maxPlainProperty system property.

    Definition Classes
    BigDecimalSerializerConfig
  2. val minPlain: BigDecimal

    Minimum magnitude of BigDecimal to write out as a plain string.

    Minimum magnitude of BigDecimal to write out as a plain string. Defaults to . This can be set using the JsonConfig.minPlainProperty system property.

    Definition Classes
    BigDecimalSerializerConfig
  3. def preserveZeroDecimal: Boolean

    True to preserve a zero decimal , or false to drop them (the default).

    True to preserve a zero decimal , or false to drop them (the default). For example, 1.00 will be serialized as 1 if false or 1.0 if true (only a single zero is preserved). Other trailing zeroes will be dropped regardless of this value. For example, 1.1000 will always be serialized as 1.1. This can be set using the JsonConfig.preserveZeroDecimalProperty system property.

    Definition Classes
    BigDecimalSerializerConfig
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product