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(JsonBindingModel model) |
Creates a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Double |
deserialize(String jsonValue,
Unmarshaller unmarshaller,
Type rtType) |
Convert string value to object.
|
deserializeFormatteddeserialize, getModelprotected static final String POSITIVE_INFINITY
protected static final String NEGATIVE_INFINITY
protected static final String NAN
public DoubleTypeDeserializer(JsonBindingModel model)
model - Binding model.protected Double deserialize(String jsonValue, Unmarshaller unmarshaller, Type rtType)
AbstractValueTypeDeserializerdeserialize in class AbstractValueTypeDeserializer<Double>jsonValue - Json value.unmarshaller - Unmarshaller instance.rtType - Runtime type.Copyright © 2017 Oracle Corporation. All rights reserved.