Uses of Interface
org.springframework.data.redis.serializer.JacksonObjectReader
Package
Description
Serialization/Deserialization package for converting Object to (and from) binary data.
-
Uses of JacksonObjectReader in org.springframework.data.redis.serializer
Modifier and TypeMethodDescriptionstatic JacksonObjectReader
JacksonObjectReader.create()
Create a defaultJacksonObjectReader
delegating toObjectMapper.readValue(InputStream, JavaType)
.Modifier and TypeMethodDescriptionGenericJackson2JsonRedisSerializer.GenericJackson2JsonRedisSerializerBuilder.reader
(JacksonObjectReader reader) ConfigureJacksonObjectReader
.ModifierConstructorDescriptionGenericJackson2JsonRedisSerializer
(com.fasterxml.jackson.databind.ObjectMapper mapper, JacksonObjectReader reader, JacksonObjectWriter writer) Setting a custom-configuredObjectMapper
is one way to take further control of the JSON serialization process.GenericJackson2JsonRedisSerializer
(String typeHintPropertyName, JacksonObjectReader reader, JacksonObjectWriter writer) CreatesGenericJackson2JsonRedisSerializer
initialized with anObjectMapper
configured for default typing using the givenname
along with the given, requiredJacksonObjectReader
andJacksonObjectWriter
used to read/writeObjects
de/serialized as JSON.Jackson2JsonRedisSerializer
(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.JavaType javaType, JacksonObjectReader reader, JacksonObjectWriter writer) Creates a newJackson2JsonRedisSerializer
for the given targetJavaType
.