Skip to content

TJSONBoolean

Class to represent boolean JSON data.

Declaration

Source position: fpjson.pp line 434

type

  TJSONBoolean = class(TJSONData)
  public
    constructor Create;
    class function JSONType : TJSONtype;
    procedure Clear;
    function Clone : TJSONData;
  end;

Description

TJSONBoolean must be used whenever boolean data must be represented. It has limited functionality to convert the value from or to integer or floating point data.

Methods

Member Visibility Description
Clear public Clear data.
Clone public Clone boolean value.
Create public Create a new instance of boolean JSON data.
JSONType public native JSON data type.
See all Methods

See also

Name Description
TJSONFloatNumber Class to represent floating-point JSON data.
TJSONIntegerNumber Class to represent 32-bit integer JSON data.
TJSONInt64Number Class to represent 64-bit integer JSON data.
TJSONBoolean Class to represent boolean JSON data.
TJSONNull Class to represent boolean JSON data.
TJSONArray Class of TJSONArray.
TJSONObject Class of TJSONObject.