API:System.JSON.TJSONNumber.Create
Delphi
constructor Create(const Value: string); overload;
constructor Create; overload;
constructor Create(const Value: Double); overload;
constructor Create(const Value: Integer); overload;
constructor Create(const Value: Int64); overload;
C++
__fastcall TJSONNumber(const System::UnicodeString Value)/* overload */;
__fastcall TJSONNumber(void)/* overload */;
__fastcall TJSONNumber(const double Value)/* overload */;
__fastcall TJSONNumber(const int Value)/* overload */;
__fastcall TJSONNumber(const __int64 Value)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONNumber |
Description
Constructeur de la classe TJSONString.
System.JSON.TJSONNumber.Create hérite de System.JSON.TJSONString.Create. Tout le contenu en-dessous de cette ligne se réfère à System.JSON.TJSONString.Create.
Constructeur de la classe TJSONString.
La version implicite du constructeur Create crée une chaîne null JSON. Aucune modification supplémentaire à cette chaîne n'est supportée.
L'autre version du constructeur Create crée la chaîne JSON donnée par l'argument Value. Cet argument ne peut pas être null.