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