Skip to content

Conversation

k163377
Copy link
Contributor

@k163377 k163377 commented Dec 16, 2023

I checked the implementation and found that NullsAsEmptyProvider simply calls valueDeserializer.getEmptyValue, so there was no need to specifically wrap it.
https://github.com/FasterXML/jackson-databind/blob/15fa6ec14608790664f214ab53688b68aad23dbd/src/main/java/com/fasterxml/jackson/databind/deser/impl/NullsAsEmptyProvider.java#L30

Skipping this process will improve performance, albeit slightly.

From ProjectMapK/jackson-module-kogera@997a536

@k163377 k163377 merged commit 7369aad into FasterXML:2.17 Dec 16, 2023
@k163377 k163377 deleted the empty-value branch December 16, 2023 16:51
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.

1 participant