alibaba / alibaba/fastjson2

fastjson2是否可以配置将前端传入的string或者时间戳转换成后台的LocalDateTime或者Date类型

Open
#1,706 4 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

### 请描述您的问题
*询问有关本项目的使用和其他方面的相关问题。*
版本2.0.38
序列化返回可以通过FastJsonHttpMessageConverter设置,想问下有简单的配置可以实现将前端传入的string或者时间戳转换成后台的LocalDateTime或者Date类型吗?

Contributor guide

Open the contributing guide

Research direction

Review FastJsonHttpMessageConverter and the deserialization configuration for version 2.0.38. Verify whether string or timestamp inputs can be mapped to LocalDateTime or Date, and document the supported configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.