Skip to content

TJSONStreamWriter.StartArray

Start writing a JSON array

Declaration

Source position: jsonwriter.pp line 125

public 
procedure TJSONStreamWriter.StartArray;  override;

Description

StartArray writes the opening bracket '[' to the stream and initializes element counting for the array. The element counter is used to properly place commas between array elements.

See also

Name Description
EndArray End writing a JSON array
NextElement Prepare for the next element in a JSON array