Uses of Class
org.springframework.kafka.support.serializer.JsonDeserializer
Packages that use JsonDeserializer
-
Uses of JsonDeserializer in org.springframework.kafka.support.serializer
Methods in org.springframework.kafka.support.serializer that return JsonDeserializerModifier and TypeMethodDescription<X> JsonDeserializer<X>JsonDeserializer.copyWithType(com.fasterxml.jackson.core.type.TypeReference<? super X> newTargetType) Copies this deserializer with same configuration, except new target type reference is used.<X> JsonDeserializer<X>JsonDeserializer.copyWithType(com.fasterxml.jackson.databind.JavaType newTargetType) Copies this deserializer with same configuration, except new target java type is used.<X> JsonDeserializer<X>JsonDeserializer.copyWithType(Class<? super X> newTargetType) Copies this deserializer with same configuration, except new target type is used.JsonSerde.deserializer()JsonDeserializer.dontRemoveTypeHeaders()Don't remove type information headers.JsonDeserializer.forKeys()Designate this deserializer for deserializing keys (default is values); only applies if the default type mapper is used.JsonDeserializer.ignoreTypeHeaders()Ignore type information headers and use the configured target class.JsonDeserializer.trustedPackages(String... packages) Add trusted packages to the default type mapper.JsonDeserializer.typeFunction(BiFunction<byte[], org.apache.kafka.common.header.Headers, com.fasterxml.jackson.databind.JavaType> typeFunction) Set aBiFunctionthat receives the data to be deserialized and the headers and returns a JavaType.JsonDeserializer.typeMapper(Jackson2JavaTypeMapper mapper) Use the suppliedJackson2JavaTypeMapper.JsonDeserializer.typeResolver(JsonTypeResolver resolver) Set aJsonTypeResolverthat receives the data to be deserialized and the headers and returns a JavaType.Constructors in org.springframework.kafka.support.serializer with parameters of type JsonDeserializerModifierConstructorDescriptionJsonSerde(JsonSerializer<T> jsonSerializer, JsonDeserializer<T> jsonDeserializer)