toJson

abstract override fun toJson(): Map<String, Any?>(source)

Converts this value to a JSON representation. Useful for serialization, debugging, or for interfacing with external systems.

Return

A map representing the JSON structure of this value.