RemoveAllMembers
This method removes all child elements from a given property.
Syntax
METHOD RemoveAllMembers : BOOL
VAR_INPUT
v : SJsonValue;
END_VAR
Return value
Name | Type |
---|---|
RemoveAllMembers | BOOL |
Inputs
Name | Type |
---|---|
v | SJsonValue (note possible invalidity) |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
bRemoved := fbJson.RemoveAllMembers(jsonProp);