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¶
| Name | Description |
|---|---|
| StartArray | Start writing a JSON array |
| EndArray | End writing a JSON array |