Package org.springframework.data.redis.serializer
@NullMarked
package org.springframework.data.redis.serializer
Serialization/Deserialization package for converting Object to (and from) binary data.
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Builder for configuring and creating a
GenericJackson2JsonRedisSerializer
.Generic Jackson 3-basedRedisSerializer
that mapsobjects
to and from JSON.GenericJackson3JsonRedisSerializer.GenericJackson3JsonRedisSerializerBuilder<B extends tools.jackson.databind.cfg.MapperBuilder<? extends tools.jackson.databind.ObjectMapper,? extends tools.jackson.databind.cfg.MapperBuilder<?, ?>>> GenericJackson3JsonRedisSerializer.GenericJackson3JsonRedisSerializerBuilder
wraps around aJsonMapper.Builder
providing dedicated methods to configure aspects likeNullValue
serialization strategy for the resultingObjectMapper
to be used withGenericJackson3JsonRedisSerializer
as well as potential Object/-reader
and-writer
settings.Generic String to byte[] (and back) serializer.Deprecated, for removal: This API element is subject to removal in a future version.since 4.0 in favor ofJackson3JsonRedisSerializer
.Defines the contract for Object Mapping readers.Defines the contract for Object Mapping writers.Deprecated, for removal: This API element is subject to removal in a future version.since 4.0 in favor ofJackson3ObjectReader
.Deprecated, for removal: This API element is subject to removal in a future version.since 4.0 in favor ofJackson3ObjectWriter
.Java SerializationRedisSerializer
.Serializer adapter on top of Spring's O/X Mapping.Strategy interface that specifies a deserializer that can deserialize a binary element representation stored in Redis into an object.Strategy interface that specifies a serializer that can serialize an element to its binary representation to be used as Redis protocol payload.Serialization context for reactive use.Builder forRedisSerializationContext
.Typed serialization tuple.Basic interface serialization and deserialization of Objects to byte arrays (binary data).Generic exception indicating a serialization/deserialization error.Utility class with various serialization-related methods.SimpleString
tobyte[]
(and back) serializer.
GenericJackson3JsonRedisSerializer