writeToString

open fun writeToString(instance: T): String

Write the given instance to a JSON string.

Return

the JSON string

Parameters

instance

the instance to write (may be null)