REST.JsonReflect.TJSONUnMarshal.StringToTValue
Delphi
function StringToTValue(Value: string; typeInfo: PTypeInfo): TValue;
C++
System::Rtti::TValue __fastcall StringToTValue(System::UnicodeString Value, System::Typinfo::PTypeInfo typeInfo);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
説明
StringToTValue メソッドは、指定された typeInfo
に応じて、文字列を TValue にマーシャリングします。
変換できない場合には、EConversionError 例外を送出します。