System.JSON.TJSONBool

From RAD Studio API Documentation
Jump to: navigation, search

System.JSON.TJSONValueSystem.JSON.TJSONAncestorSystem.TObjectTJSONBool

Delphi

TJSONBool = class(TJSONValue)

C++

class PASCALIMPLEMENTATION TJSONBool : public TJSONValue

Properties

Type Visibility Source Unit Parent
class public
System.JSON.pas
System.JSON.hpp
System.JSON System.JSON

Description

JSON boolean value.

You can pass the value that an instance of TJSONBool represents to its constructor.

To obtain the value in a different format, you can use the following members:

Member Format Notes

Value

JSON (string)

The possible values are TrueString and FalseString.

ToString

JSON (string)

The possible values are TrueString and FalseString.

ToBytes

JSON (bytes)

The possible values are TrueBytes and FalseBytes.

AsBoolean

Boolean