JsonControlData

constructor(keyName: String, jsonValue: String, typeHint: String, elementName: String, elementId: Int, elementType: String, propertyName: String, comment: String, modelName: String, parentElementName: String? = null, parentElementId: Int? = null, parentElementType: String? = null, elementPath: List<String> = emptyList())(source)

Parameters

keyName

unique access key: "${elementName}.${propertyName}"

jsonValue

current value of the control serialized as a JSON string

typeHint

human-readable description of the expected Kotlin type, e.g. "List<Double>" or "Map<String, Int>"; provided by KSLJsonControl.expectedTypeHint or inferred from the property's kotlin.reflect.KType at extraction time

elementName

name of the model element that owns this control

elementId

identifier of the model element

elementType

simple class name of the model element

propertyName

name of the annotated property

comment

optional comment supplied in the annotation

modelName

name of the model that contains the element