RemoveMemberByName
![RemoveMemberByName 1:](Images/jpg/13465138187__Web.jpg)
This method removes a child element from a given property. The element is referenced by its name.
Syntax
METHOD RemoveMemberByName : BOOL
VAR_INPUT
v : SJsonValue;
keepOrder : BOOL;
END_VAR
VAR_IN_OUT CONSTANT
member : STRING;
END_VAR
Return value
Name | Type |
---|---|
RemoveMemberByName | BOOL |
Inputs
Name | Type |
---|---|
v | SJsonValue |
keepOrder | BOOL |
/
Inputs/Outputs
Name | Type |
---|---|
member | STRING |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
jsonValue := fbJson.RemoveMemberByName(jsonProp, 'ChildName');