toJsonValue

abstract fun toJsonValue(): JsonValue

Returns the objects represented as a JsonValue.

Return

The object as a JsonValue.