toJsonObject

open override fun toJsonObject(): JsonObject

Serializes this instance to a structured JsonObject.