@Singleton public class JsonSerdeRegistry extends java.lang.Object implements SerdeRegistry
SerdeRegistry that computes Serde instances that use Jackson to JSON serialization.| Modifier | Constructor and Description |
|---|---|
protected |
JsonSerdeRegistry(io.micronaut.context.BeanContext beanContext)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.kafka.common.serialization.Serde<T> |
getSerde(java.lang.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(io.micronaut.context.BeanContext beanContext)
beanContext - The bean contextpublic <T> org.apache.kafka.common.serialization.Serde<T> getSerde(java.lang.Class<T> type)
SerdeRegistrySerde for the given type.getSerde in interface SerdeRegistryT - The generic typetype - The typeSerde