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

TAbstractJSONWriter.WriteValue

Write a JSON value to the output

Declaration

Source position: jsonwriter.pp line 40

public procedure TAbstractJSONWriter.WriteValue(

  aValue: TStrings

);

procedure TAbstractJSONWriter.WriteValue(

  aValue: TJSONData

);

procedure TAbstractJSONWriter.WriteValue; virtual; abstract;

procedure TAbstractJSONWriter.WriteValue(

  aValue: Boolean

); virtual; abstract;

procedure TAbstractJSONWriter.WriteValue(

  aValue: Integer

); virtual; abstract;

procedure TAbstractJSONWriter.WriteValue(

  aValue: Int64

); virtual; abstract;

procedure TAbstractJSONWriter.WriteValue(

  aValue: Double

); virtual; abstract;

procedure TAbstractJSONWriter.WriteValue(

  const aValue: string

); virtual; abstract;

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

Arguments

aValue

  

The value to write to the JSON output

Arguments

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

WriteProperty

  

Write a named property to a JSON object


Documentation generated on: Jan 27 2026