FasterXML / FasterXML/jackson-databind

Allow JsonDeserializer to provide default value for "missing" properties

Open
#618 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
3.7k
Forks
1.5k
Avg merge
3d 5h
Merged PRs (30d)
30

Description

This came up in https://github.com/FasterXML/jackson-datatype-jdk8/issues/2
When deserializing a bean containing `Optional` fields, the value `Optional.empty()` makes more sense than filling in `null` for properties that are entirely missing from the JSON.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.