Delete an element from the list by index.
Source position: fpjson.pp line 748
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 the object. |
|
|
Add a name, value to the object. |
|
|
Extract an element from the object. |
|
Exchange |