Skip to content

TAbstractJSONWriter.NextElement

Prepare for the next element in a JSON array

Declaration

Source position: jsonwriter.pp line 61

public 
procedure TAbstractJSONWriter.NextElement;  virtual;  abstract;

Description

NextElement prepares for writing the next element in a JSON array. This method should be called before each WriteValue call when writing array elements. This is an abstract method that must be implemented by derived classes.

See also

Name Description
StartArray Start writing a JSON array
EndArray End writing a JSON array
WriteValue Write a JSON value to the output