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¶
| Name | Description |
|---|---|
| ExtractData | Extract the created JSON data tree |