Unit 'fpjson' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TJSONArray.Delete

Delete an element from the list by index.

Declaration

Source position: fpjson.pp line 574

public procedure TJSONArray.Delete(

  Index: Integer

);

Arguments

Index

  

Index of the element to delete.

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

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.


Documentation generated on: Dec 22 2024