Skip to content

TJSONDataWriter.StartProperty

Start writing a property in a JSON object

Declaration

Source position: jsonwriter.pp line 87

public 
procedure TJSONDataWriter.StartProperty(const aName: string);  override;

Description

StartProperty sets the property name for the next value to be written to a JSON object. This method must be followed by a value write operation and EndProperty.

Errors

EJSONWriter is raised if a property name is already set.

See also

Name Description
EndProperty End writing a property in a JSON object
EJSONWriter Exception class for JSON writing errors