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)
.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 classPropertyTypeName, JacksonObjectReader reader, JacksonObjectWriter writer) CreatesGenericJackson2JsonRedisSerializer
and configuresObjectMapper
for default typing using the given name.Jackson2JsonRedisSerializer
(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.JavaType javaType, JacksonObjectReader reader, JacksonObjectWriter writer) Creates a newJackson2JsonRedisSerializer
for the given targetJavaType
.