Extract an element from the object.
Source position: fpjson.pp line 751
public function TJSONObject.Extract( |
Index: Integer |
):TJSONData; |
const AName: string |
):TJSONData; |
Index |
|
Index of element to extract. |
Element to extract from the object.
AName |
|
Name of element to extract. |
Extract removes the element at position Index or with the AName from the list, just as Delete does. In difference with Delete, it does not free the object instance. Instead, it returns the extracted element. The result is Nil if a non-existing name is specified.
Delete |
Clear |
Insert |
Add |