package Ġcom . son es o . l umen sh ine . networking . dto Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonInclude Ċ import Ġcom . fasterxml . jackson . databind . Deserialization Feature Ċ import Ġcom . fasterxml . jackson . databind . ObjectMapper Ċ Ċ object ĠParse Ġ{ ĊĊĠĠĠ Ġfun Ġcreate Mapper (): ĠObjectMapper Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġmapper Ġ= ĠObjectMapper () ĊĠĠĠĠĠĠĠ Ġmapper . set Serialization In clusion ( JsonInclude . Include . NON _ NULL ) ĊĠĠĠĠĠĠĠ Ġmapper . configure ( Deserialization Feature . FAIL _ ON _ UNKNOWN _ PROPERTIES , Ġfalse ) ĊĠĠĠĠĠĠĠ Ġmapper . configure ( Deserialization Feature . FAIL _ ON _ IG NO RED _ PROPERTIES , Ġfalse ) ĊĠĠĠĠĠĠĠ Ġmapper . configure ( Deserialization Feature . FAIL _ ON _ NULL _ FOR _ PR IMIT IV ES , Ġfalse ) ĊĠĠĠĠĠĠĠ Ġmapper . configure ( Deserialization Feature . READ _ UNKNOWN _ ENUM _ VALUES _ AS _ NULL , Ġtrue ) ĊĠĠĠĠĠĠĠ Ġreturn Ġmapper ĊĠĠĠ Ġ} Ċ }