package Ġorg . got son . kom ga . infrastructure . metadata . com ic rack . dto Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonIgnore Properties Ċ import Ġcom . fasterxml . jackson . annotation . JsonProperty Ċ import Ġcom . fasterxml . jackson . annotation . Json Setter Ċ import Ġcom . fasterxml . jackson . annotation . Null s Ċ import Ġcom . fasterxml . jackson . data format . xml . annotation . Jack son XmlElement Wrapper Ċ import Ġcom . fasterxml . jackson . data format . xml . annotation . Jack son Xml Property Ċ Ċ @ JsonIgnore Properties ( ignore Unknown Ġ= Ġtrue ) Ċ class ĠReading List Ġ{ ĊĊĠ Ġ@ JsonProperty ( value Ġ= Ġ" Name ") ĊĠ Ġvar Ġname : ĠString ? Ġ= Ġnull ĊĊĠ Ġ@ Jack son XmlElement Wrapper ( use Wr apping Ġ= Ġtrue ) ĊĠ Ġ@ Jack son Xml Property ( local Name Ġ= Ġ" Books ") ĊĠ Ġ@ Json Setter ( null s Ġ= ĠNull s . AS _ EMPTY ) ĊĠ Ġvar Ġbooks : ĠList < Book > Ġ= Ġempty List () ĊĊĠ Ġoverride Ġfun ĠtoString (): ĠString Ġ{ ĊĠĠĠ Ġreturn Ġ" Reading List ( name =$ name , Ġbooks =$ books )" ĊĠ Ġ} Ċ } Ċ