toJson

open fun toJson(): JSONObject

Returns a JSON representation of this event.

Return

JSON object.