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