alibaba / alibaba/fastjson2

@JSONField如何兼容多个格式

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

Description

@JSONField(format = "yyyy-MM-dd HH:mm:ss")
同时支持:yyyy-MM-dd HH:mm
需要怎么操作

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the implementation and tests for @JSONField(format), then trace how a single date format is applied during serialization or deserialization. Done means defining and verifying behavior for both yyyy-MM-dd HH:mm:ss and yyyy-MM-dd HH:mm formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.