package Ġcom . so y wiz . kor io . dynamic . serialization Ċ Ċ import Ġcom . so y wiz . kor io . dynamic . mapper .* Ċ import Ġcom . so y wiz . kor io . serialization . json .* Ċ import Ġkotlin . reflect .* Ċ Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠAny > ĠJson . stringify Typed ( obj : ĠT ?, Ġmapper : ĠObjectMapper , Ġpretty : ĠBoolean Ġ= Ġfalse ): ĠString Ġ= Ċ ĉ stringify ( mapper . to Unt yped ( T :: class , Ġobj ), Ġpretty Ġ= Ġpretty ) Ċ Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠAny > ĠJson . parse Typed ( s : ĠString , Ġmapper : ĠObjectMapper ): ĠT Ġ= Ġparse Typed ( T :: class , Ġs , Ġmapper ) Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠAny > ĠString . fromJson Typed ( mapper : ĠObjectMapper ): ĠT Ġ= ĠJson . parse Typed ( T :: class , Ġthis , Ġmapper ) Ċ Ċ fun Ġ< T Ġ: ĠAny > ĠJson . parse Typed ( clazz : ĠK Class < T >, Ġs : ĠString , Ġmapper : ĠObjectMapper ): ĠT Ġ= Ġmapper . to Typed ( clazz , Ġparse ( s )) Ċ fun ĠMap < *, Ġ* >. toJson Typed ( mapper : ĠObjectMapper ): ĠString Ġ= ĠJson . stringify Typed ( this , Ġmapper ) Ċ