RemoveAllMembers
![RemoveAllMembers 1:](Images/jpg/13465136651__Web.jpg)
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 |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
bRemoved := fbJson.RemoveAllMembers(jsonProp);