Companion

object Companion

Properties

Link copied to clipboard
const val SETTINGS: String

The JSON field name for the actual settings JSONData in the associated JSON payload.

Link copied to clipboard
const val TYPE_KEY: String

The JSON field name for the SettingsType in the associated JSON payload.

Functions

Link copied to clipboard
fun exportSettings(file: File, vararg settings: Settings)
fun exportSettings(file: File, settings: Collection<Settings>)

Export the provided Settings to the provided File. The Settings are written as a JSONArray of JSONObjects, with each JSONObject taking the form: