toJson

open fun toJson(): JSONObject

Returns a JSON representation of this instance.

Return

JSONObject instance.