case class JsonOptions(formatting: JsonFormatting = JsonFormatting.Compact, asciiOutput: Boolean = false, mathContext: MathContext = BigDecimal.defaultMathContext, dateFormat: JsonDateFormat = JsonDateFormat.IsoInstant, binaryFormat: JsonBinaryFormat = JsonBinaryFormat.ByteArray) extends Product with Serializable

Adjusts format of JSON produced by JsonStringOutput.

formatting

JSON formatting options, controls how whitespace is added to JSON output

asciiOutput

when set, all non-ASCII characters in strings will be unicode-escaped

mathContext

MathContext used when deserializing BigDecimals

dateFormat

format used to represent timestamps

binaryFormat

format used to represent binary data (byte arrays)

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonOptions(formatting: JsonFormatting = JsonFormatting.Compact, asciiOutput: Boolean = false, mathContext: MathContext = BigDecimal.defaultMathContext, dateFormat: JsonDateFormat = JsonDateFormat.IsoInstant, binaryFormat: JsonBinaryFormat = JsonBinaryFormat.ByteArray)

    formatting

    JSON formatting options, controls how whitespace is added to JSON output

    asciiOutput

    when set, all non-ASCII characters in strings will be unicode-escaped

    mathContext

    MathContext used when deserializing BigDecimals

    dateFormat

    format used to represent timestamps

    binaryFormat

    format used to represent binary data (byte arrays)

Value Members

  1. val asciiOutput: Boolean
  2. val binaryFormat: JsonBinaryFormat
  3. val dateFormat: JsonDateFormat
  4. val formatting: JsonFormatting
  5. val mathContext: MathContext