-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add support for serialize_nulls build config option #403
base: master
Are you sure you want to change the base?
Conversation
Thanks! I'll take a look at it soon. |
So, to get on the same page: You want a feature that always includes all null values when serialization, right? Afaik this can be done in a much more simple way by just adding
as an annotation to the serializer, no custom serializer is needed for that. The Custom Serializer was needed to have the distinction between absent and null values. |
Yes that's right. I almost expected you to have an easier solution. To be honest I used the work you'd already done in the branch with the |
Sorry to come back months later but what is the status of this? |
Add support for serialize_nulls build config option. This option will enable that null fields are always serialized as null.