[QUESTION]json.parse在读取带下划线的变量转驼峰要如何全局设置?
Open
question
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
例如
String jsonStr = {"user_id": 1111};
变量名userId;
有什么办法可以全局设置码
Contributor guide
Research direction
Start by reading fastjson2's JSON parsing and deserialization configuration APIs, focusing on whether a global naming strategy can map the shown user_id field to userId. Done means confirming the supported configuration or identifying the missing capability with a minimal example based on the issue's JSON and Java variable names.
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