[BUG]Fastjson2Encoder
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
webFlux中 使用 2.0.57版本的
com.alibaba.fastjson2.support.spring6.http.codec.Fastjson2Encoder encoder = new com.alibaba.fastjson2.support.spring6.http.codec.Fastjson2Encoder(objectMapper, fastJsonConfig);
com.alibaba.fastjson2.support.spring6.http.codec.Fastjson2Decoder decoder = new com.alibaba.fastjson2.support.spring6.http.codec.Fastjson2Decoder(objectMapper, fastJsonConfig);
上传文件正常,更新到2.0.59版本使用最新的
上传文件会报错误
Contributor guide
Research direction
Start by reproducing the WebFlux file upload with Fastjson2Encoder and Fastjson2Decoder on versions 2.0.57 and 2.0.59, using the configurations shown in the issue. Compare the behavior and error shown in the attached screenshots; done means file uploads work on 2.0.59 without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100