toJsonElement

abstract fun toJsonElement(): JsonObject(source)

Converts the debug statement into a JSON representation.

Return

A JsonObject that represents the canonical, serialized form of the debug statement.