rsModule = KotoolsTypesSerializers.emailAddress<br>}<br>val emailAddress: EmailAddress =<br>    EmailAddress.fromString("contact@kotools.org")<br>val encoded: String = format.encodeToString(emailAddress)<br>assertEquals(expected = "\"contact@kotools.org\"", actual = encoded)<br>val decoded: EmailAddress = format.decodeFromString(encoded)<br>assertEquals(expected = emailAddress, actual = decoded)</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-