FasterXML / FasterXML/jackson-module-jsonSchema

Optional Support

Aperta
#122 5 commenti 2 reazioni 0 assegnatari Vedi su GitHub
testcase-needed
Lingua principale
Java
Stelle
387
Fork
136
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Would be great if there was a way to configure this to serialize / deserialize json schema fields using Java 8 Optionals, so that fields of type T with required=false are deserialized to Optional and fields with required=true are deserialized to T rather than needing to use @JsonAttribute annotations.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.