toJSON

open fun toJSON(): JSONObject

Convert the stack frame to a JSON representation.