FasterXML / FasterXML/jackson-databind
Allow JsonDeserializer to provide default value for "missing" properties
Abierto
- Lenguaje dominante
- Java
- Estrellas
- 3.7k
- Forks
- 1.5k
- Merge medio
- 3 d 6 h
- PR fusionados (30 d)
- 28
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.