Json
Attributes
Members list
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
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Configclass DecodingConfigtrait Configclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DecodingConfig.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass EncodingConfigtrait Configclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EncodingConfig.type
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
Attributes
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TransDecodingConfig.type
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
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TransEncodingConfigtrait Configclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TransEncodingConfig.type
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Concrete methods
Entry point into the JSON decoding mini-DSL.
Entry point into the JSON decoding mini-DSL.
Attributes
Entry point into the JSON encoding mini-DSL.
Entry point into the JSON encoding mini-DSL.
Attributes
Entry point into the JSON transcoding mini-DSL.
Entry point into the JSON transcoding mini-DSL.
Attributes
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product