AddKey
This method adds a new property key at the current position of the SAX writer. The value of the new property is usually set afterwards. This can be done using one of the following methods, for example: AddBase64, AddBool, AddDateTime, AddDcTime, AddDint, AddFileTime, AddHexBinary, AddLint, AddLreal, AddNull, AddRawArray, AddRawObject, AddReal, AddString, AddUdint, AddUlint.
Syntax
METHOD AddKey
VAR_IN_OUT CONSTANT
key : STRING;
END_VAR
/ Inputs/Outputs
Name | Type |
---|---|
key | STRING |
Sample call:
fbJson.AddKey('PropertyName');