Unit 'JsonWriter' Package
[Overview][Classes][Index] [#fcl]

TJSONDataWriter.destroy

Destroy the writer and free any created JSON data

Declaration

Source position: jsonwriter.pp line 80

public destructor TJSONDataWriter.destroy; override;

Description

destroy destroys the TJSONDataWriter instance and frees any JSON data that has not been extracted. If JSON data was created but not extracted using ExtractData, it will be freed to prevent memory leaks.

See also

ExtractData

  

Extract the created JSON data tree


Documentation generated on: Jan 27 2026