public class FastJsonRedisSerializer<T> extends Object implements org.springframework.data.redis.serializer.RedisSerializer<T>
RedisSerializer
FastJson ImplConstructor 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.SerializationException
Copyright © 2012–2022 Alibaba Group. All rights reserved.