Skip to content

Conversation

@kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Apr 10, 2019

If a field has a conversion function defined – either JsonKey.toJson
or a custom JsonConverter annotation – handle the case where the
function returns null and both nullable and includeIfNull are
false.

Before this change, you could still get null values in output JSON
even if includeIfNull is false.

Prepare to release v2.2.0

If a field has a conversion function defined – either `JsonKey.toJson`
or a custom `JsonConverter` annotation – handle the case where the
function returns `null` and both `nullable` and `includeIfNull` are
`false`.

Before this change, you could still get `null` values in output JSON
even if `includeIfNull` is `false`.

Prepare to release v2.2.0
@kevmoo kevmoo requested a review from jakemac53 April 10, 2019 20:37
@kevmoo
Copy link
Collaborator Author

kevmoo commented Apr 10, 2019

@jakemac53 – FYI, I'm going to ditch wrapper support. Too darn complicated! #441

@kevmoo kevmoo requested a review from natebosch April 10, 2019 23:50
@kevmoo kevmoo merged commit 93f8da4 into master Apr 11, 2019
@kevmoo kevmoo deleted the writeNotNull_toJson branch April 15, 2019 16:19
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.

3 participants