PushbackNullValue
This method appends a NULL value to the end of an array.
Syntax
METHOD PushbackNullValue : SJsonValue
VAR_INPUT
v : SJsonValue;
END_VAR
Return value
Name | Type |
---|---|
PushbackNullValue | SJsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | SJsonValue (note possible invalidity) |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackNullValue(jsonArray);