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
JDK版本: openjdk_8_201 hutool版本: 5.8.8(请确保最新尝试是否还有问题)
是否可可以支持在 bean 到 json 字符串的序列化和反序列化时候的 个性化 字段定义? 目前一旦字段设置了@PropIgnore,则序列化反序列化,该字段都不参与
bean
json
@PropIgnore
@JSONField(serialize = false) public String name;
The text was updated successfully, but these errors were encountered:
你可以使用JSONUtil.putSerializer自定义序列化。
JSONUtil.putSerializer
Sorry, something went wrong.
No branches or pull requests
版本情况
JDK版本: openjdk_8_201
hutool版本: 5.8.8(请确保最新尝试是否还有问题)
问题描述(包括截图)
是否可可以支持在
bean
到json
字符串的序列化和反序列化时候的 个性化 字段定义?目前一旦字段设置了
@PropIgnore
,则序列化反序列化,该字段都不参与The text was updated successfully, but these errors were encountered: