Duplicate the value of the JSON data.
Source position: fpjson.pp line 176
public function TJSONData.Clone: TJSONData; virtual; abstract; |
A new instance with the same JSON representation.
Clone returns a new instance of the TJSONData descendent that has the same value as the instance, i.e. the AsJSON property of the instance and its clone is the same.
Note that the clone must be freed by the caller. Freeing a JSON object will not free its clones.
Normally, no JSON-specific errors should occur, but an EOutOfMemory exception can be raised.
|
Clear the raw value of this data object. |
|