JSONBuilder.SetKeyWithValue (METH)¶
METHOD SetKeyWithValue : DINT
This method adds a key element with an value to the element with index diParentIndex. Generates JSON: “wsKey” : value or “wsKey” : “value” The output of this method should return NO_ERROR
- InOut:
Scope
Name
Type
Initial
Return
SetKeyWithValue
DINT
Input
wsKey
WSTRING
“”
Value
__SYSTEM.AnyType
diParentIndex
DINT
0
Output
eError