Skip to content

TJSONApplier.destroy

Destructor that frees owned JSON objects and cleans up resources

Declaration

Source position: fpjsonapply.pp line 62

public 
destructor TJSONApplier.destroy;  override;

Description

The destroy destructor frees any JSON objects that are owned by the component as indicated by the OwnsJSON property. It also frees the destination JSON object if it differs from the source JSON object.

See also

Name Description
TJSONApplier.OwnsJSON Set specifying which JSON objects are owned by the component
TJSONApplier.SourceJSON Source JSON object to merge into
TJSONApplier.ApplyJSON JSON object containing elements to apply to the source
TJSONApplier.DestJSON Destination JSON object containing the merge result