alibaba / alibaba/fastjson2

[FEATURE]序列化和反序列化时,提供可以剔除某些全局配置Feature的能力

Open
#3,481 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

### 请描述您的需求或者改进建议
多组件在一个服务运行时,因为各自设置了全局配置
JSON.config(JSONWriter.Feature.FieldBased);
其他组件不需要此配置,导致解析出问题。
### 请描述你建议的实现方案
序列化和反序列化时,提供可以剔除某些全局配置的能力

### 描述您考虑过的替代方案
*对您考虑过的任何替代解决方案或功能的描述。*

#### 附加信息
*如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。*

Contributor guide

Open the contributing guide

Research direction

Start by tracing how JSON.config(JSONWriter.Feature.FieldBased) affects serialization and deserialization when multiple components share a service. Review the global configuration and feature-selection entry points, then define how callers can exclude selected global features and verify that components not requesting FieldBased retain their expected parsing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.