Data.DBXJSONReflect.TJSONUnMarshal.JSONToTValue

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function JSONToTValue(JsonValue: TJSONValue; rttiType: TRttiType): TValue;

C++

System::Rtti::TValue __fastcall JSONToTValue(System::Json::TJSONValue* JsonValue, System::Rtti::TRttiType* rttiType);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Data.DBXJSONReflect TJSONUnMarshal


Description

Convertit un TJSONValue en son équivalent TValue, selon les informations de type données.

  • rttiType représente les informations de type à l'exécution utilisées lors de la conversion.

JSONToTValue déclenche une exception si la conversion n'est pas possible.

Voir aussi