alibaba / alibaba/fastjson2

对于GenericFastJsonRedisSerializer如何设置FastJsonConfig[QUESTION]

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

Description

### 针对Redis的序列化能否自定义设置FastJsonConfig
我已经在项目中启动时全局设置了JsonConfig
![image](https://github.com/alibaba/fastjson2/assets/29773167/5e91e122-9a03-4722-aa4c-8b3bb3ced118)
但是对于Redis的序列化,我发现根本没有使用这些配置,是因为这个类里走的单独JsonConfig吗?
![image](https://github.com/alibaba/fastjson2/assets/29773167/06faff32-3cd0-4fd0-851e-2462484853a9)

Contributor guide

Open the contributing guide

Research direction

Start with GenericFastJsonRedisSerializer and the FastJsonConfig setup shown in the issue. Determine whether Redis serialization intentionally uses a separate configuration and document how that configuration can be customized, or clarify the limitation. There are no files or tests named in the report, so the relevant implementation and validation path must first be located.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis
Domain
databases
Issue type
Documentation
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.