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¶
| Name | Description |
|---|---|
| ExtractData | Extract the created JSON data tree |
| EJSONWriter | Exception class for JSON writing errors |