Sign in Join
FPDoc Onlineexperiment

TJSONStreamWriter.StartProperty procedure

Member of TJSONStreamWriterpublicIn unit JsonWriter

Start writing a property in a JSON object

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.