FastJson和FastJson2序列化Redis配置
FastJson和FastJson2序列化Redis配置
一、FastJson序列化Redis
实现RedisSerializer接口
public class FastJson2JsonRedisSerializer<T> implements RedisSerializer<T> { |
配置redisTemplate
|
二、FastJson2序列化Redis
实现RedisSerializer接口
public class FastJson2JsonRedisSerializer<T> implements RedisSerializer<T> { |
配置redisTemplate
|
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 飞の博客!
评论










