JsonSettingsIfc

interface JsonSettingsIfc<out T>

The purpose of this interface is to provide classes (especially model elements) the ability to be configured from a Json string.

Inheritors

Functions

Link copied to clipboard
abstract fun configureFromJson(json: String): T

Uses the supplied JSON string to configure the object using the Json string

Link copied to clipboard
abstract fun currentSettings(): T

Returns the current settings in the form of the data type that can be serialized.

Link copied to clipboard
abstract fun settingsToJson(): String

Converts the configuration settings to JSON