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

Allow keys with no values to be removed during encoding #67

Merged
merged 1 commit into from
Nov 30, 2022
Merged

Allow keys with no values to be removed during encoding #67

merged 1 commit into from
Nov 30, 2022

Conversation

dharrigan
Copy link
Contributor

A common scenario when serialising out to JSON, is the ability to remove any keys that have nil values, thus resulting in a more compact object being sent over the wire.

This small change introduces a new encoding option that, if set, will do precisely that.

Fixes #66

-=david=-

A common scenario when serialising out to JSON, is the ability to remove
any keys that have nil values, thus resulting in a more compact object
being sent over the wire.

This small change introduces a new encoding option that, if set, will do
precisely that.

Fixes #66

-=david=-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow keys with no values to be removed during encoding
2 participants