Skip to content

Serializer

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface Serializer<T : Any>

An interface which can transform an object of type T into a formatted String.

Inheritors

MapperSerializer

Types

Serializer.Companion

Functions

serialize

abstract fun serialize(model: T): String?

Serializes the data into a String.

Return

the String representing the data or null if any exception occurs

Clone this wiki locally