System.JSON.TJSONBool

De RAD Studio API Documentation
Aller à : navigation, rechercher

System.JSON.TJSONValueSystem.JSON.TJSONAncestorSystem.TObjectTJSONBool

Delphi

TJSONBool = class(TJSONValue)

C++

class PASCALIMPLEMENTATION TJSONBool : public TJSONValue

Propriétés

Type Visibilité  Source Unité  Parent
class public
System.JSON.pas
System.JSON.hpp
System.JSON System.JSON


Description

Une valeur booléenne JSON.

Vous pouvez transmettre la valeur représentée par une instance de TJSONBool à son constructeur.

Pour obtenir la valeur sous un autre format, vous pouvez utiliser les membres suivants :

Membre Format Remarques

Valeur

JSON (chaîne)

Les valeurs possibles sont TrueString et FalseString.

ToString

JSON (chaîne)

Les valeurs possibles sont TrueString et FalseString.

ToBytes

JSON (octets)

Les valeurs possibles sont TrueBytes et FalseBytes.

AsBoolean

Booléen