System.JSON.TJSONNull.AsTValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Fills the specified AValue instance of TValue with the value of this JSON null value, encoded using the specified type. It returns True if the specified type is supported or False otherwise.

Supported TTypeData types are:

Supported Types Description

tkString
tkLString
tkWString
tkUString

Fills AValue with an empty string ''.

tkClass

Fills AValue as is.

See Also