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()
BigDecimals should be used for parsing floating-point json numbers.public JsonStreamConfig withUseBigDecimalForFloats(boolean useBigDecimalForFloats)
useBigDecimalForFloats - The new value for useBigDecimalForFloatsuseBigDecimalForFloats set to the new value.public boolean useBigIntegerForInts()
BigIntegers should be used for parsing integer json numbers.public JsonStreamConfig withUseBigIntegerForInts(boolean useBigIntegerForInts)
useBigIntegerForInts - The new value for useBigIntegerForIntsuseBigIntegerForInts set to the new value.