This method is used to add a new name/value pair in the sub-hierarchy level as the selected element. The value is added as the first element in the array of elements.
The return value of type BOOL indicates TRUE if the execution has been processed successfully.
Input |
Data type |
Description |
---|---|---|
i_sName |
STRING |
Represents the name of the added JSON name/value pair. |
i_anyValue |
ANY* |
Specifies the value to be added. |
(*) Supported data types are: BOOL, STRING, INT, UINT, DINT, UDINT, BYTE, WORD, DWORD, LWORD, REAL, LREAL, SINT, USINT, LINT, ULINT, TIME, LTIME, DATE_AND_TIME, DATE, and TOD. |