AddRawObject

AddRawObject 1:

This method adds a valid JSON object to a given property as a value. The object to be added must be in a valid JSON format and may only be added if the SAX Writer is in an appropriately valid position, e.g. directly after a preceding AddKey(), StartArray() or as the first call after a ResetDocument().

Syntax

METHOD AddRawObject
VAR_IN_OUT CONSTANT
  rawJson : STRING;
END_VAR

AddRawObject 2:/AddRawObject 3: Inputs/Outputs

Name

Type

rawJson

STRING

Sample call:

fbJson.AddKey('PropertyName');
fbJson.AddRawObject('{"x":42, "y":42}');