@Singleton public class JsonSerdeRegistry extends Object implements SerdeRegistry
SerdeRegistry that computes Serde instances that use Jackson to JSON serialization.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier | Constructor and Description |
|---|---|
protected |
JsonSerdeRegistry(BeanContext beanContext)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Serde<T> |
getSerde(Class<T> type)
Obtain a
Serde for the given type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeserializer, getSerializer, pickDeserializer, pickSerializerprotected JsonSerdeRegistry(BeanContext beanContext)
beanContext - The bean contextpublic <T> Serde<T> getSerde(Class<T> type)
SerdeRegistrySerde for the given type.getSerde in interface SerdeRegistryT - The generic typetype - The typeSerde