Json
Type members
Classlikes
- 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
- Companion:
- object
- Value parameters:
- readDoubleAlsoAsFloat
set to false to disable automatic conversion of Double to Float values
- readIntegersAlsoAsFloatingPoint
set to false to disable automatic conversion of integer to floating point values
- Companion:
- object
- Value parameters:
- compressFloatingPointValues
set to false in order to always write floats as 32-bit values and doubles as 64-bit values, even if they could safely be represented with fewer bits
- maxBufferSize
the max number of transcoding elements (not bytes!) that can be buffered
- Companion:
- object