TJSONStreamWriter.WriteValue procedure
Write a JSON value directly to the stream
Declaration
procedure WriteValue; override
procedure WriteValue(aValue: Boolean); override
procedure WriteValue(aValue: Integer); override
procedure WriteValue(aValue: Int64); override
procedure WriteValue(aValue: Double); override
procedure WriteValue(const aValue: string); overrideArguments
aValue | The value to write to the JSON stream |
Description
WriteValue writes a JSON value directly to the output stream.
This method is overloaded for different data types and formats the values according to JSON syntax.
String values are properly escaped and quoted according to the
StrictStrings property.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
