Skip to content

TJSONDataWriter.WriteValue

Write a JSON value to the current position

Declaration

Source position: jsonwriter.pp line 88

public 
procedure WriteValue(aValue: Boolean);  override;

procedure WriteValue(aValue: Double);  override;

procedure WriteValue(aValue: Int64);  override;

procedure WriteValue(aValue: Integer);  override;

procedure WriteValue(const aValue: string);  override;

procedure WriteValue;  override;

Description

WriteValue creates the appropriate TJSONData subclass instance for the value and pushes it onto the internal stack. This method is overloaded for different data types including Boolean, Integer, Int64, Double, and String.

See also

Name Description
TJSONData Base (abstract) object for all JSON based data types.