Sign in Join
FPDoc Onlineexperiment

TJSONDataWriter.NextElement procedure

Member of TJSONDataWriterpublicIn unit JsonWriter

Prepare for the next element in a JSON array

Declaration

pascal
procedure NextElement; override

Description

NextElement validates that the current context is appropriate for writing the next array element. This method must be called before each value when writing array elements.

Errors

EJSONWriter is raised if the current value is not a structured value.

See also

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