CodeApe

Results 19 issues of CodeApe

版本:2.0.12-SNAPSHOT 2.0.12前的版本还正常,越升级,旧问题又出现了 异常: org.springframework.data.redis.serializer.SerializationException: Could not deserialize: read field error : storeCoupons, offset 15080, character [, line 1, column 15081, fastjson-version 2.0.12 (查看json附件) at com.alibaba.fastjson2.support.spring.data.redis.GenericFastJsonRedisSerializer.deserialize(GenericFastJsonRedisSerializer.java:71) at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:360) at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:62) at...

bug

版本:2.0.9-SNAPSHOT @JSONField(format = "yyyy-MM-dd HH:mm:ss") 获取到的时间是:2022-06-30T09:13:34.523+00:00 预期:2022-06-30 17:18:30

bug

版本:2.0.9-SNAPSHOT 序列化报错: org.springframework.data.redis.serializer.SerializationException: Could not deserialize: illegal character ; nested exception is com.alibaba.fastjson2.JSONException: illegal character at com.alibaba.fastjson2.support.spring.data.redis.GenericFastJsonRedisSerializer.deserialize(GenericFastJsonRedisSerializer.java:71) at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:360) at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:62) at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:224) at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:191) at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:97) at org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:54) 2.0.8-SNAPSHOT版本正常...

bug

配置: FastJsonHttpMessageConverter converter = new FastJsonHttpMessageConverter(); FastJsonConfig config = new FastJsonConfig(); config.setDateFormat("yyyy-MM-dd HH:mm:ss"); config.setReaderFeatures(JSONReader.Feature.FieldBased, JSONReader.Feature.InitStringFieldAsEmpty, JSONReader.Feature.SupportArrayToBean); config.setWriterFeatures(JSONWriter.Feature.WriteMapNullValue, JSONWriter.Feature.WriteNulls, JSONWriter.Feature.WriteNullListAsEmpty, JSONWriter.Feature.WriteNullStringAsEmpty, JSONWriter.Feature.WriteNullBooleanAsFalse, JSONWriter.Feature.ReferenceDetection, JSONWriter.Feature.PrettyFormat); converter.setFastJsonConfig(config); converter.setDefaultCharset(StandardCharsets.UTF_8); converter.setSupportedMediaTypes(Collections.singletonList(MediaType.APPLICATION_JSON)); converters.add(0, responseBodyConverter()); 业务处理之后需要返回如下信息: {...

bug

SimplePropertyPreFilter SerializeFilter ExtraProcessor 请问上面这几个对应fastjson2的是哪些?

question

使用版本:2.0.4 Redis序列化使用GenericFastJsonRedisSerializer,存入的是List,获取的时候List接收,提示fastjson2.JSONArray无法转成List

question

版本2.0.4 configureMessageConverters配置如下: FastJsonHttpMessageConverter converter = new FastJsonHttpMessageConverter(); FastJsonConfig config = new FastJsonConfig(); config.setReaderFeatures(JSONReader.Feature.FieldBased, JSONReader.Feature.SupportArrayToBean); config.setWriterFeatures(JSONWriter.Feature.WriteMapNullValue, JSONWriter.Feature.PrettyFormat); converter.setFastJsonConfig(config); converter.setDefaultCharset(StandardCharsets.UTF_8); converter.setSupportedMediaTypes(Collections.singletonList(MediaType.APPLICATION_JSON)); converters.add(0, converter); converters.add(responseBodyConverter()); 序列化elasticsearch的SearchPage,打印测试或者前端获取少了一些属性,例如:searchHits、sort、totalElements等 fastjson1.2.83没有这种问题

bug

### Duplicates - [X] I have searched the existing issues ### Summary 💡 _No response_ ### Examples 🌈 _No response_ ### Motivation 🔦 _No response_

org.telegram.telegrambots.facilities.TelegramHttpClientBuilder public static CloseableHttpClient build(DefaultBotOptions options) { HttpClientBuilder httpClientBuilder = HttpClientBuilder.create() .setSSLHostnameVerifier(new NoopHostnameVerifier()) .setConnectionManager(createConnectionManager(options)) .setConnectionTimeToLive(70, TimeUnit.SECONDS) .setMaxConnTotal(100); return httpClientBuilder.build(); } Whether maxConnTotal can be modified as a configurable item?

Pull Request Welcome
Feature Request

ffmpeg version 4.4.2-0ubuntu0.22.04.1 命令: python inference.py --driven_audio /home/sad/img-talker/18d6f840341/0a55b7c60d454ad280af6315f63448fb.mp3 --source_image /home/sad/img-talker/18d6f840341/18d6f840341.jpg --result_dir /home/sad/img-talker/18d6f840341 --still --preprocess full --enhancer gfpgan 去掉--enhancer gfpgan就可以正常运行,加上的话就经常出现以下异常 Face Renderer:: 100%|������������������������������| 271/271 [02:00