Skip to content

Changed to use default argument on null if JsonSetter(nulls = Nulls.SKIP) is specified.#707

Merged
k163377 merged 5 commits into
FasterXML:2.16from
k163377:fix-#526
Sep 2, 2023
Merged

Changed to use default argument on null if JsonSetter(nulls = Nulls.SKIP) is specified.#707
k163377 merged 5 commits into
FasterXML:2.16from
k163377:fix-#526

Conversation

@k163377

@k163377 k163377 commented Aug 25, 2023

Copy link
Copy Markdown
Contributor

At least Nulls.FAIL worked, so it seems natural behavior for Nulls.SKIP to use default values.

Fixes #526

Comment thread src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinValueInstantiator.kt Outdated
@k163377 k163377 changed the title Fixed to use default value if JsonSetter(nulls = Nulls.SKIP) is specified. Changed to use default argument on null if JsonSetter(nulls = Nulls.SKIP) is specified. Sep 1, 2023
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.

JsonSetter nulls does not work with Kotlin data classes

2 participants