serialize

open fun serialize(): String

Serializes the T object into its equivalent Json representation.

Return

a JSON string representation of T