xiebin1998
xiebin1998
我们引入的是兼容fastjson1的依赖:[Fastjson1 Compatible](https://mvnrepository.com/artifact/com.alibaba/fastjson) » [2.0.50](https://mvnrepository.com/artifact/com.alibaba/fastjson/2.0.50)
@MoshiCoCo,@wenshao redis客户端配置代码 ``` RedisTemplate template = new RedisTemplate(); template.setConnectionFactory(lettuceConnectionFactory); template.setKeySerializer(new StringRedisSerializer()); template.setValueSerializer(new GenericFastJsonRedisSerializer()); template.setHashKeySerializer(new StringRedisSerializer()); template.setHashValueSerializer(new GenericFastJsonRedisSerializer()); return template; ``` 我存入的时候正常,redis的格式是: ``` { "@type": "[com.xxx.ProtocolParamEntity", "@value": [ { "id": "1",...
用的是这个序列化实现:com.alibaba.fastjson.support.spring.GenericFastJsonRedisSerializer
@MoshiCoCo 有注意到么,,能确定是什么问题么