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;
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¶
| Name | Description |
|---|---|
| EndProperty | End writing a property in a JSON object |
| StrictStrings | Control strict JSON string encoding |