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

TJSONDataWriter.Flush

Validate the internal state for data extraction

Declaration

Source position: jsonwriter.pp line 94

public procedure TJSONDataWriter.Flush; override;

Description

Flush validates that JSON data has been created and is available for extraction. This method checks that the internal stack contains valid JSON data before extraction.

Errors

EJSONWriter is raised if no objects have been created on the stack.

See also

ExtractData

  

Extract the created JSON data tree

EJSONWriter

  

Exception class for JSON writing errors


Documentation generated on: Jan 27 2026