package Ġcom . nel ipa . home ass ig ment . applic aster . storage . local . converters Ċ Ċ import Ġandroidx . room . Type Converter Ċ import Ġcom . google . gson . Gson Ċ import Ġcom . nel ipa . home ass ig ment . applic aster . models . Media Group Ċ Ċ // todo : ĠDon 't Ġuse Ġobjects Ġconverter s Ġin Ġproduction ! ĠAdd Ġadditional Ġtable Ġwith Ġrelation Ġinstead ! Ċ class ĠMedia Group Converter Ġ{ ĊĠĠĠ Ġ@ Type Converter ĊĠĠĠ Ġfun Ġfrom Media Group Type ( target : ĠMedia Group ?): ĠString ? Ġ= ĠGson (). toJson ( target ) ĊĊĠĠĠ Ġ@ Type Converter ĊĠĠĠ Ġfun Ġto Media Group Type ( target : ĠString ?): ĠMedia Group ? Ġ= Ġtarget ?. let Ġ{ ĊĠĠĠĠĠĠĠ ĠGson (). fromJson ( it , ĠMedia Group :: class . java ) ĊĠĠĠ Ġ} Ċ }