Skip to content

TJSONObject.Clone

Clone the JSON object.

Declaration

Source position: fpjson.pp line 718

public 
function TJSONObject.Clone : TJSONData;  override;

Description

Clone creates a new TJSONObject, clones all elements in the array and adds them to the newly created array with the same names as they were in the array.

See also

Name Description
TJSONData.Clone Duplicate the value of the JSON data.