Sign in Join
FPDoc Onlineexperiment

TJSONDataWriter.Flush procedure

Member of TJSONDataWriterpublicIn unit JsonWriter

Validate the internal state for data extraction

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.