CodeApe
CodeApe
[https://github.com/alibaba/fastjson2/issues/647](https://github.com/alibaba/fastjson2/issues/647) 跟我这个问题类似吧,反反复复
> 能提供重现问题的testcase么? 就是把整个对象传到rocketmq Demo demo = JSON.parseObject(new String(messageExt.getBody()), Demo.class); demo.getCreateTime获取到的时间就是:2022-06-30T09:13:34.523+00:00
> @alon-sys 可以使用FastJsonRedisSerializer临时解决您的问题 > > ```java > FastJsonRedisSerializer serializer = new FastJsonRedisSerializer(List.class); > FastJsonConfig config = new FastJsonConfig(); > config.setReaderFeatures(JSONReader.Feature.SupportAutoType); > config.setWriterFeatures(JSONWriter.Feature.WriteClassName); > serializer.setFastJsonConfig(config); > ``` 问题还是一样,用1.2.83没有这种问题
private static final RedisTemplate redisTemplate = SpringUtils.getBean("redisTemplate", RedisTemplate.class); public static T get(final String key) { ValueOperations operation = redisTemplate.opsForValue(); return operation.get(key); } public static void set(final String key, final T...
这个问题好像反反复复😂
> storeRemark storeRemark是StoreRemarkDTO 的泛型List private List storeRemark; @Data public class StoreRemarkDTO implements Serializable { private static final long serialVersionUID = -6793274046513576434L; private String storeId; private String remark; }
{ "code":200, "message":"success", "result":{ "content":[ { "content":{ "attrList":[], "authFlag":"PASS", "brandId":"", "brandName":null, "brandUrl":null, "buyCount":0, "categoryNamePath":"测试一级,测试二级", "categoryPath":"1509370564301852673,1509370591145398274", "commentNum":null, "fxscStatus":true, "goodsId":"1501400422231085058", "goodsName":"维德医疗 一次性医用外科口罩100只虎年口罩无菌级防沙尘暴防飞沫口罩透气清薄三层挂耳式10只*10袋 【热销爆款】外科100只灭菌级别", "goodsType":"PHYSICAL_GOODS", "goodsVideo":null, "grade":100.0, "highPraiseNum":null, "id":"1501400422793121794", "indexShow":true, "intro":"", "marketEnable":"UPPER", "mobileIntro":"",...
> @alon-sys 这个JSON数据对应的实体就是SearchPage吗 是的
YouTube、TikTok、Twitch、VK、Spotify、磁力、种子,这些都能支持那就完美了