public class DoubleSerde extends AbstractSerDe<Double>
objectMapper| Constructor and Description |
|---|
DoubleSerde() |
| Modifier and Type | Method and Description |
|---|---|
Double |
deserialize(String json)
This method serializes given object into JSON-string
|
String |
serialize(Double o)
This method serializes given object into JSON-string
|
deserializeClass, serializeClasspublic Double deserialize(@NonNull String json)
JsonDeserializerjson - string containing JSON representation of the objectpublic String serialize(@NonNull Double o)
JsonSerializero - object to be serializedCopyright © 2019. All rights reserved.