Skip to content
New issue

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

新建 com.feilong.json.JsonUtil.toString(Object obj,boolean isIgnoreNullValueElement,String...ifIgnoreNullValueElementIncludes) 忽略空和空白, 但是有的属性要支持白名单,强行输出null #638

Closed
venusdrogon opened this issue Nov 23, 2023 · 0 comments
Labels
enhancement New feature or request feilong-json feilong-json
Milestone

Comments

@venusdrogon
Copy link
Collaborator

比如要强制设置 AppleHostedAudioAssetContainerId 为null

image

现在整个对象直接转json 变成了 {}

image
@venusdrogon venusdrogon added this to the 4.0.4 milestone Nov 23, 2023
@venusdrogon venusdrogon added enhancement New feature or request feilong-json feilong-json labels Nov 23, 2023
@venusdrogon venusdrogon changed the title com.feilong.json.JsonUtil.format(Object, boolean) 忽略空和空白, 但是有的属性要支持排除 新建 com.feilong.json.JsonUtil.toString(Object obj,boolean isIgnoreNullValueElement,String...ifIgnoreNullValueElementIncludes) 忽略空和空白, 但是有的属性要支持白名单,强行输出null Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feilong-json feilong-json
Projects
None yet
Development

No branches or pull requests

1 participant