Sign in Join
FPDoc Onlineexperiment

TJSONStreamWriter.NextElement procedure

Member of TJSONStreamWriterpublicIn unit JsonWriter

Prepare for the next element in a JSON array

Declaration

pascal
procedure NextElement; override

Description

NextElement writes a comma to the stream if this is not the first element in the array. This method increments the element counter and ensures proper comma placement between array elements.

See also

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