toJSON

open fun toJSON(): String

Helper method to convert an object to JSON

Return

A JSON representation of the object