-
```bash
2024-10-15T10:09:13.979+08:00 WARN 1323356 --- [ConsumeMessageThread_demo-group_2] s.c.f.c.c.SmartCompositeMessageConverter : Failure during type conversion by com.alibaba.fastjson.support.s…
dyrnq updated
1 month ago
-
[[问题描述
简要描述您碰到的问题。
class com.alibaba.fastjson2.JSONObject cannot be cast to class org.springframework.ai.openai.api.OpenAiApi$Embedding (com.alibaba.fastjson2.JSONObject and org.springframework.ai.o…
-
### 使用场景
使用Map接收参数,使用FastJson2序列化Map设置JSONWriter.Feature.WriteClassName, 以保存原始类类信息,序列化的字符串存储下来,在需要使用时取出反序列化,Map参数中所有value类型恢复为原来的类型
### 问题
测试发现,对于Object类型可以还原,但是对于数组类型(int[], byte[], List)无法还原出…
-
### 问题描述
2.0.53版本在jdk21下多构造函数时反序列化异常
### 环境信息
- JDK:jdk-21.0.2
- fastjson:2.0.53
### 重现步骤
#### 【测试代码一】
```
com.alibaba.fastjson2
fastjson2
…
-
While running iDFlakies for `https://github.com/alibaba/fastjson2`, the following message was printed.
```
INFO: Located 4806 tests. Time taken: 521.3839998245239 seconds
INFO: This project conta…
-
2023-10-01 16:20:35.438 [job-0] ERROR Engine -
经DataX智能分析,该任务最可能的错误原因是:
com.alibaba.datax.common.exception.DataXException: Code:[Framework-13], Description:[DataX插件运行时出错, 具体原因请参看DataX运行结束时的错误诊断信息…
-
### 问题描述
实体中字段为Boolean时 想将对应空值转成“”时报错,
其中active 修饰为public的时候正常,
请问这种情况是设计如此还是存在bug?
补充一下 似乎 Integer也有这个问题,自定义的ObjectWriter 不生效
@Data
class User {
public String name;
public Integer a…
-
### Problem description
FASTJSON2 has problem to parse JSON to specific object by `JSON.parseObject()` mehod when polymorphism is used. Object type class inherits from some abstract class. To descr…
-
### Is Your Feature Request Related to a Problem?
org.apache.rocketmq:rocketmq-common:5.3.0
-- com.alibaba:fastjson:1.2.83
-- com.alibaba.fastjson2:fastjson2:2.0.51
why not completely remove f…
-
Exception in thread "taskGroup-0" com.alibaba.datax.common.exception.DataXException: Code:[Framework-13], Description:[DataX插件运行时出错, 具体原因请参看DataX运行结束时的错误诊断信息 .]. - java.lang.NoClassDefFoundError: com/…