JsonCodeParam
Param for json code. It shows a simple json IDE in the interface to provide code for json. The value of this param is a dict.
It can also handle comments in the JSON code. It supports only single-line comments. Valid example: { // This is a comment "key": "value" }
Unvalid example: { /* This is a comment */ "key": "value" }
Unvalid example: { "key": "value" // This is a comment }
:param ParamSpec: description :type ParamSpec: type
PRIVATE_VISIBILITY: LiteralPROTECTED_VISIBILITY: LiteralPUBLIC_VISIBILITY: Literaladditional_info: Optionaldefault_value: Optionalhuman_name: Optionaloptional: boolshort_description: Optionalvisibility: LiteralOptionalbool - FalseLiteral - publicOptionalOptionalValidate the json code.
AnydictAnyParamSpecDTOParamSpecSimpleDTOValidate the value of the param and return the modified value if needed. This method is called when the param is set in the config before saving it in the database. The returned value must be serializable in json.
AnyAnyParamSpecDictJsonCodeParamParamSpecTypeStrParamSpecDTOParamSpecParamSpecInfoSpecs