public final class JsonStreamConfig extends 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)
Whether all normal floating point literals should be represented as  
BigDecimal. | 
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)
BigDecimal. Note that
 Float.NaN, Float.POSITIVE_INFINITY and Float.NEGATIVE_INFINITY may still be represented
 as float, if the input supports those literals.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.