System.JSON.TJSONNull.AsTValue

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function AsTValue(ATypeInfo: PTypeInfo; var AValue: TValue): Boolean; override;

C++

virtual bool __fastcall AsTValue(System::Typinfo::PTypeInfo ATypeInfo, System::Rtti::TValue &AValue);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
System.JSON.pas
System.JSON.hpp
System.JSON TJSONNull


Description

Remplit l'instance AValue de TValue avec cette valeur JSON null, en l'encodant avec le type spécifié. Elle renvoie True si le type spécifié est pris en charge ou False dans le cas contraire.

Les types TTypeData pris en charge sont :

Types pris en charge Description

tkString
tkLString
tkWString
tkUString

Remplit AValue avec une chaîne vide ''.

tkClass

Remplit AValue tel qu'il est.

Voir aussi