We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对于给定的json字符串,去掉其前后空格。比如: { "aNumber": 0, "aString": " string " } => { "aNumber": 0, "aString": "string" }
给定的json中内容没有规律,可能是复杂的json字符串: { "a": 0, "b": "0", "c": [...], "d": {...}, "e":[{...}], "f": {[...]} }
类似议题:Java – Can Jackson be configured to trim leading/trailing whitespace from all string properties https://itecnote.com/tecnote/java-can-jackson-be-configured-to-trim-leading-trailing-whitespace-from-all-string-properties/
暂无
The text was updated successfully, but these errors were encountered:
you can use ValueFilter
Sorry, something went wrong.
https://github.com/alibaba/fastjson2/releases/tag/2.0.5 问题已修复,请用新版本
No branches or pull requests
请描述您的需求或者改进建议
对于给定的json字符串,去掉其前后空格。比如:
{ "aNumber": 0, "aString": " string " }
=> { "aNumber": 0, "aString": "string" }
给定的json中内容没有规律,可能是复杂的json字符串:
{ "a": 0, "b": "0", "c": [...], "d": {...}, "e":[{...}], "f": {[...]} }
请描述你建议的实现方案
类似议题:Java – Can Jackson be configured to trim leading/trailing whitespace from all string properties
https://itecnote.com/tecnote/java-can-jackson-be-configured-to-trim-leading-trailing-whitespace-from-all-string-properties/
描述您考虑过的替代方案
暂无
附加信息
暂无
The text was updated successfully, but these errors were encountered: