serialize

Return

A json string.

fun SpigotSerializable<*>.serialize(pretty: Boolean): String