TAbstractJSONWriter.WriteValue procedure
Write a JSON value to the output
Declaration
procedure WriteValue(aValue: TStrings)
procedure WriteValue(aValue: TJSONData)
procedure WriteValue; virtual; abstract
procedure WriteValue(aValue: Boolean); virtual; abstract
procedure WriteValue(aValue: Integer); virtual; abstract
procedure WriteValue(aValue: Int64); virtual; abstract
procedure WriteValue(aValue: Double); virtual; abstract
procedure WriteValue(const aValue: string); virtual; abstractArguments
aValue | The value to write to the JSON output |
Description
WriteValue writes a JSON value to the output.
This method is overloaded for different data types and has abstract variants that must be implemented by derived classes.
The non-abstract variants handle complex types like
TStrings and
TJSONData by decomposing them into simpler operations.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
