[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

TJSONArray.Delete

Delete an element from the list by index

Declaration

Source position: fpjson.pp line 512

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: Jun 23 2021