Uses of Class
org.springframework.kafka.support.serializer.JsonSerializer
-
Uses of JsonSerializer in org.springframework.kafka.support.serializer
Modifier and TypeMethodDescription<X> JsonSerializer<X>
JsonSerializer.copyWithType
(com.fasterxml.jackson.core.type.TypeReference<? super X> newTargetType) Copies this serializer with same configuration, except new target type reference is used.<X> JsonSerializer<X>
JsonSerializer.copyWithType
(com.fasterxml.jackson.databind.JavaType newTargetType) Copies this serializer with same configuration, except new target java type is used.<X> JsonSerializer<X>
JsonSerializer.copyWithType
(Class<? super X> newTargetType) Copies this serializer with same configuration, except new target type reference is used.JsonSerializer.forKeys()
Designate this serializer for serializing keys (default is values); only applies if the default type mapper is used.JsonSerializer.noTypeInfo()
Do not include type info headers.JsonSerde.serializer()
JsonSerializer.typeMapper
(Jackson2JavaTypeMapper mapper) Use the suppliedJackson2JavaTypeMapper
.ModifierConstructorDescriptionJsonSerde
(JsonSerializer<T> jsonSerializer, JsonDeserializer<T> jsonDeserializer)