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
JSONWriter.Feature.IgnoreNoneSerializable在2.0.7版本中,只对字段生效了,对rootObject不生效,也对Map中的Value不生效。
比如:
static class Bean2 { } Bean2 bean = new Bean2(); assertEquals("null", JSONB.toJSONString( JSONB.toBytes(bean, JSONWriter.Feature.IgnoreNoneSerializable) );
The text was updated successfully, but these errors were encountered:
bug fix IgnoreNoneSerializable not work on rootObject, for issue #477
9228858
https://github.com/alibaba/fastjson2/releases/tag/2.0.8 问题已经修复,请用新版本
Sorry, something went wrong.
No branches or pull requests
JSONWriter.Feature.IgnoreNoneSerializable在2.0.7版本中,只对字段生效了,对rootObject不生效,也对Map中的Value不生效。
比如:
The text was updated successfully, but these errors were encountered: