[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Delete an element from the list by index
Source position: fpjson.pp line 543
public procedure TJSONObject.Delete( |
Index: Integer |
); |
const AName: string |
); |
Index |
|
Index of element in Items to delete. |
AName |
|
Name of element to delete |
Delete deletes the element with given Index or AName from the list. The TJSONData element is freed. If a non-existing name is specified, no value is deleted.
If an invalid index is passed, an exception is raised.
Clear |
Add |
Extract |
Exchange |