AddRawArray
This method adds a valid JSON array to a given property as a value. The array to be added must be in a valid JSON format and may only be added if the SAX Writer is at a correspondingly valid position, e.g. directly after a preceding AddKey(), StartArray() or as the first call after a ResetDocument().
Syntax
METHOD AddRawArray
VAR_IN_OUT CONSTANT
rawJson : STRING;
END_VAR
Return value
Name | Type |
---|---|
AddRawArray | BOOL |
/ Inputs/Outputs
Name | Type |
---|---|
rawJson | STRING |
Sample call:
fbJson.AddKey('PropertyName');
fbJson.AddRawArray('[1, 2, {"x":42, "y":42}, 4');