System.JSON.TJSONString.AsTValue
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 | TJSONString |
Description
Fills the specified AValue
instance of TValue with the value of this JSON string 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 |
---|---|
|
Define types into which to encode a string to fill |
|
Fills |