Sign in Join
FPDoc Onlineexperiment

TJSONDataWriter.StartProperty procedure

Member of TJSONDataWriterpublicIn 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 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

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