skip to Main Content

Json – Jackson using deduction-base deserialization when fields are missing

I am using Jackson to de-serialize this class import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) @JsonSubTypes({ @JsonSubTypes.Type(value = DatiSocieta.class, name = "datiSocieta"), @JsonSubTypes.Type(value = DatiPersonaFisica.class, name = "datiPersonaFisica") , @JsonSubTypes.Type(value = DatiDittaIndividuale.class, name = "datiDittaIndividuale") } ) public interface Dati…

VIEW QUESTION
Back To Top
Search