[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'fpjson' (#fcl)

# TJSONBoolean

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class to represent boolean JSON data.

## Declaration

Source position: fpjson.pp line 404

`type TJSONBoolean = class(TJSONData)`
`public`
`constructor Create();` |  | Create a new instance of boolean JSON data
`class function JSONType; override;` |  | native JSON data type
`procedure Clear; override;` |  | Clear data
`function Clone; override;` |  | Clone boolean value
`end;`

## Inheritance

`TJSONBoolean` |  | Class to represent boolean JSON data.
`TJSONData` |  | Base (abstract) object for all JSON based data types
`TObject`

## 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.

## See also

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