public class DoubleTypeDeserializer extends AbstractNumberDeserializer<Double>
Double type.| Modifier and Type | Field | Description |
|---|---|---|
protected static String |
NAN |
|
protected static String |
NEGATIVE_INFINITY |
|
protected static String |
POSITIVE_INFINITY |
| Constructor | Description |
|---|---|
DoubleTypeDeserializer(Customization customization) |
Creates a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Double |
deserialize(String jsonValue,
Unmarshaller unmarshaller,
Type rtType) |
Convert string value to object.
|
deserializeFormatteddeserialize, getCustomization, getPropertyTypeprotected static final String POSITIVE_INFINITY
protected static final String NEGATIVE_INFINITY
protected static final String NAN
public DoubleTypeDeserializer(Customization customization)
customization - Model customization.protected Double deserialize(String jsonValue, Unmarshaller unmarshaller, Type rtType)
AbstractValueTypeDeserializerdeserialize in class AbstractValueTypeDeserializer<Double>jsonValue - Json value.unmarshaller - Unmarshaller instance.rtType - Runtime type.Copyright © 2018 Oracle Corporation. All rights reserved.