public final class JsonStreamConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static JsonStreamConfig |
DEFAULT
The default stream configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
useBigDecimalForFloats() |
boolean |
useBigIntegerForInts() |
JsonStreamConfig |
withUseBigDecimalForFloats(boolean useBigDecimalForFloats) |
JsonStreamConfig |
withUseBigIntegerForInts(boolean useBigIntegerForInts) |
public static final JsonStreamConfig DEFAULT
public boolean useBigDecimalForFloats()
BigDecimal
s should be used for parsing floating-point json numbers.public JsonStreamConfig withUseBigDecimalForFloats(boolean useBigDecimalForFloats)
useBigDecimalForFloats
- The new value for useBigDecimalForFloats
useBigDecimalForFloats
set to the new value.public boolean useBigIntegerForInts()
BigInteger
s should be used for parsing integer json numbers.public JsonStreamConfig withUseBigIntegerForInts(boolean useBigIntegerForInts)
useBigIntegerForInts
- The new value for useBigIntegerForInts
useBigIntegerForInts
set to the new value.