Skip to content

TJSONArray.Delete

Delete an element from the list by index.

Declaration

Source position: fpjson.pp line 586

public 
procedure TJSONArray.Delete(Index: Integer);

Description

Delete deletes the element with given Index from the list. The TJSONData element is freed.

Errors

If an invalid index is passed, an exception is raised.

See also

Name Description
Clear Clear the array.
Add Add a JSON value to the array.
Extract Extract an element from the array.
Exchange Exchange 2 elements in the list.