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

TJSONStreamWriter.StartProperty

Start writing a property in a JSON object

Declaration

Source position: jsonwriter.pp line 123

public procedure TJSONStreamWriter.StartProperty(

  const aName: string

); override;

Arguments

aName

  

The name of the property to start writing

Description

StartProperty writes the property name to the stream followed by a colon. If this is not the first property in the object, it automatically adds a comma before the property name. The property name is properly escaped and quoted according to JSON syntax.

See also

EndProperty

  

End writing a property in a JSON object

StrictStrings

  

Control strict JSON string encoding


Documentation generated on: Jan 27 2026