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