Unit 'JsonWriter' Package
[Overview][Classes][Index] [#fcl]

TJSONDataWriter.WriteValue

Write a JSON value to the current position

Declaration

Source position: jsonwriter.pp line 88

public procedure TJSONDataWriter.WriteValue(

  aValue: Boolean

); override;

procedure TJSONDataWriter.WriteValue(

  aValue: Double

); override;

procedure TJSONDataWriter.WriteValue(

  aValue: Int64

); override;

procedure TJSONDataWriter.WriteValue(

  aValue: Integer

); override;

procedure TJSONDataWriter.WriteValue(

  const aValue: string

); override;

procedure TJSONDataWriter.WriteValue; override;

Arguments

aValue

  

The value to write to the JSON output

Arguments

aValue

  

The value to write to the JSON output

Arguments

aValue

  

The value to write to the JSON output

Arguments

aValue

  

The value to write to the JSON output

Arguments

aValue

  

The value to write to the JSON output

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

TJSONData

  

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


Documentation generated on: Jan 27 2026