Uses of Interface
org.springframework.data.redis.serializer.JacksonObjectWriter
Packages that use JacksonObjectWriter
Package
Description
Serialization/Deserialization package for converting Object to (and from) binary data.
-
Uses of JacksonObjectWriter in org.springframework.data.redis.serializer
Methods in org.springframework.data.redis.serializer that return JacksonObjectWriterModifier and TypeMethodDescriptionstatic JacksonObjectWriterJacksonObjectWriter.create()Create a defaultJacksonObjectWriterdelegating toObjectMapper.writeValueAsBytes(Object).Constructors in org.springframework.data.redis.serializer with parameters of type JacksonObjectWriterModifierConstructorDescriptionGenericJackson2JsonRedisSerializer(com.fasterxml.jackson.databind.ObjectMapper mapper, JacksonObjectReader reader, JacksonObjectWriter writer) Setting a custom-configuredObjectMapperis one way to take further control of the JSON serialization process.GenericJackson2JsonRedisSerializer(String classPropertyTypeName, JacksonObjectReader reader, JacksonObjectWriter writer) CreatesGenericJackson2JsonRedisSerializerand configuresObjectMapperfor 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 newJackson2JsonRedisSerializerfor the given targetJavaType.