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

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;

Arguments

aName

  

The name of the property to start writing

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

EndProperty

  

End writing a property in a JSON object

EJSONWriter

  

Exception class for JSON writing errors


Documentation generated on: Jan 27 2026