-
Notifications
You must be signed in to change notification settings - Fork 479
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
[BUG]WriteNulls序列化时丢失部分null值字段 #2952
Comments
yanxutao89
added a commit
that referenced
this issue
Sep 11, 2024
…iledWriter.features is not among (0, JSONWriter.Feature.FieldBased.mask, FieldInfo.FIELD_MASK), for issue #2952
wenshao
added a commit
that referenced
this issue
Sep 15, 2024
yanxutao89
added a commit
that referenced
this issue
Sep 15, 2024
yanxutao89
added a commit
that referenced
this issue
Sep 15, 2024
wenshao
added a commit
that referenced
this issue
Sep 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
在部分字段上使用
@JSONField(serializeFeatures = JSONWriter.Feature.WriteNulls)
注解,序列化时无法正常序列化null值。环境信息
重现步骤
代码如下
输出结果
期待的正确结果
相关日志输出
无
附加信息
无
The text was updated successfully, but these errors were encountered: