T - Type to deserialize.BigDecimalTypeDeserializer, BigIntegerTypeDeserializer, ByteTypeDeserializer, DoubleTypeDeserializer, FloatTypeDeserializer, IntegerTypeDeserializer, LongTypeDeserializer, ShortTypeDeserializerpublic abstract class AbstractNumberDeserializer<T extends Number> extends AbstractValueTypeDeserializer<T>
| Constructor | Description |
|---|---|
AbstractNumberDeserializer(Class<T> clazz,
Customization customization) |
Creates a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Optional<Number> |
deserializeFormatted(String jsonValue,
boolean integerOnly,
JsonbContext jsonbContext) |
deserialize, deserialize, getCustomization, getPropertyTypepublic AbstractNumberDeserializer(Class<T> clazz, Customization customization)
clazz - Class to work with.customization - Model customization.protected final Optional<Number> deserializeFormatted(String jsonValue, boolean integerOnly, JsonbContext jsonbContext)
Copyright © 2018 Oracle Corporation. All rights reserved.