toJson

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

Converts the parameter to a JSON representation. Useful for serialization or debugging purposes.

Return

A map representing the JSON structure of this parameter.