public class FastJsonRedisSerializer<T> extends Object implements org.springframework.data.redis.serializer.RedisSerializer<T>
RedisSerializer FastJson Impl| Constructor and Description |
|---|
FastJsonRedisSerializer(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(byte[] bytes) |
FastJsonConfig |
getFastJsonConfig() |
byte[] |
serialize(T t) |
void |
setFastJsonConfig(FastJsonConfig fastJsonConfig) |
public FastJsonConfig getFastJsonConfig()
public void setFastJsonConfig(FastJsonConfig fastJsonConfig)
public byte[] serialize(T t) throws org.springframework.data.redis.serializer.SerializationException
serialize in interface org.springframework.data.redis.serializer.RedisSerializer<T>org.springframework.data.redis.serializer.SerializationExceptionCopyright © 2012–2022 Alibaba Group. All rights reserved.