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

TJSONStreamWriter.NextElement

Prepare for the next element in a JSON array

Declaration

Source position: jsonwriter.pp line 127

public procedure TJSONStreamWriter.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

StartArray

  

Start writing a JSON array

EndArray

  

End writing a JSON array


Documentation generated on: Jan 27 2026