alibaba / alibaba/fastjson2

2.0.25版本@JSONFieldg格式化时间失效问题[BUG]

Open
#1,301 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

*2.0.25版本中,@JSONFieldg格式化时间不会按照pattern所指定的格式将LocalDateTime格式化,回退版本可以问题解决。*
- JDK信息: [e.g.:Corretto-8.362.08.1]
- 版本信息:[e.g.:Fastjson2 2.0.25]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Fastjson2 2.0.25 behavior with @JSONField, a pattern, and a LocalDateTime value, using the reported JDK information if available. Compare the result with a later or earlier version; done means the LocalDateTime is serialized according to the specified pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.