toJSON

open fun toJSON(): JSONObject

Returns a log friendly JSONObject version of this object.