json

fun json(valueObject: JsonObject)

Assigns the value of the settings to the component

A component can have dynamic settings which can be assigned through the JSON file These have to be interpreted and assigned to the value group

An example: { "type": "INT", "name": "Size", "value": 14, "range": { "min": 1, "max": 100 }, "suffix": "px" }

TODO: Replace with proper deserialization

Parameters

valueObject

JsonObject