Uses of Interface
org.springframework.data.redis.serializer.JacksonObjectWriter
Package
Description
Serialization/Deserialization package for converting Object to (and from) binary data.
-
Uses of JacksonObjectWriter in org.springframework.data.redis.serializer
Modifier and TypeMethodDescriptionstatic JacksonObjectWriter
JacksonObjectWriter.create()
Create a defaultJacksonObjectWriter
delegating toObjectMapper.writeValueAsBytes(Object)
.Modifier and TypeMethodDescriptionGenericJackson2JsonRedisSerializer.GenericJackson2JsonRedisSerializerBuilder.writer
(JacksonObjectWriter writer) ConfigureJacksonObjectWriter
.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
.