Data.DBXJSONReflect.TJSONUnMarshal.StringToTValue
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp
| |
Unit: Data.DBXJSONReflect | |
Parent: TJSONUnMarshal |
Delphi
function StringToTValue(const Value: string; typeInfo: PTypeInfo): TValue;
C++
System::Rtti::TValue __fastcall StringToTValue(const System::UnicodeString Value, System::Typinfo::PTypeInfo typeInfo);
Description
Converts a string into a TValue, based on type information.
Value
represents the string value.
typeInfo
is the run-time type information to be converted into.
An exception is raised if the conversion is not possible.