tornadofx / tornadofx / JsonModel / toJSON

toJSON

open fun toJSON(json: JsonBuilder): Unit

Build a JSON representation of the model properties

Parameters

json - A builder that should be filled with the model properties

open fun toJSON(): JsonObject

Build a JSON representation of the model directly to JsonObject