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

# TJSONArray.Remove

Remove an element from the list

## Declaration

Source position: fpjson.pp line 576

`public procedure TJSONArray.Remove(`
`Item: TJSONData`
`);`

## Arguments

`Item` |  | Item to remove from the array

## Description

Remove removes item from the array, if it is in the array. The object pointer is checked for presence in the array, not the JSON values. Note that the element is freed if it was in the array and is removed.

## See also

Delete |  | Delete an element from the list by index
Extract |  | Extract an element from the array

Documentation generated on: May 14 2021