DecodingConfig

final case class DecodingConfig(readIntegersAlsoAsFloatingPoint: Boolean, readDecimalNumbersOnlyAsNumberStrings: Boolean, maxNumberAbsExponent: Int, maxStringLength: Int, maxNumberMantissaDigits: Int, initialCharbufferSize: Int, allowBufferCaching: Boolean, allowDirectParsing: Boolean) extends DecodingConfig with Config
Value parameters:
initialCharbufferSize

the initial size of the parser's Char buffer. Will grow to the max string length in the document rounded up to the next power of two

maxNumberAbsExponent

the maximum absolute exponent value to accept in JSON numbers

maxNumberMantissaDigits

the maximum number of digits to accept before the exponent in JSON numbers

maxStringLength

the maximum string length to accept Note: For performance reasons this is a soft limit, that the parser will sometimes overstep. The only guarantee is that it will never accept Strings that are more than twice as long as the this limit.

readDecimalNumbersOnlyAsNumberStrings

set to true to disable the fast, immediate conversion of JSON numbers to Double values where easily possible. In rare cases this might be necessary to allow for maximum possible precision when reading 32-bit Float values from JSON. (see https://github.com/sirthias/borer/issues/20 for more info on this)

readIntegersAlsoAsFloatingPoint

set to false to disable automatic conversion of integer to floating point values

Companion:
object
trait Serializable
trait Product
trait Equals
trait Config
trait Config
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product