package Ġcom . eg m . st elli o . shared . util Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonInclude Ċ import Ġcom . fasterxml . jackson . databind . ObjectMapper Ċ import Ġcom . fasterxml . jackson . databind . Serialization Feature Ċ import Ġcom . fasterxml . jackson . module . kotlin . jackson ObjectMapper Ċ import Ġorg . junit . jupiter . api . Assertions . assertEquals Ċ Ċ val Ġmapper : ĠObjectMapper Ġ= ĊĠĠĠ Ġj ack son ObjectMapper () ĊĠĠĠĠĠĠĠ Ġ. set Serialization In clusion ( JsonInclude . Include . NON _ NULL ) ĊĠĠĠĠĠĠĠ Ġ. find And Register Modules () ĊĠĠĠĠĠĠĠ Ġ. disable ( Serialization Feature . WRITE _ DAT ES _ AS _ TIMESTAMP S ) Ċ Ċ fun Ġassert Json Payload s AreEqual ( expect ation : ĠString , Ġactual : ĠString ) Ġ= ĊĠĠĠ ĠassertEquals ( mapper . read Tree ( expect ation ), Ġmapper . read Tree ( actual )) Ċ