package Ġcom . coding jj . json db converter . database Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonInclude Ċ import Ġcom . fasterxml . jackson . annotation . JsonProperty Ċ Ċ @ JsonInclude ( JsonInclude . Include . NON _ NULL ) Ċ data Ġclass ĠSome 2 Dto ( ĊĠĠĠ Ġ@ JsonProperty (" field 1 ") Ġval Ġfield 1 : ĠString ?, ĊĠĠĠ Ġ@ JsonProperty (" field 2 ") Ġval Ġfield 2 : ĠString ?, ĊĠĠĠ Ġ@ JsonProperty (" field 3 ") Ġval Ġfield 3 : ĠString ?, ĊĠĠĠ Ġ@ JsonProperty (" field 4 ") Ġval Ġfield 4 : ĠString ?, Ċ ) Ċ