System.JSON.TJSONNumber.Create
Delphi
constructor Create(const Value: string); overload;
constructor Create(const Value: Double); overload;
constructor Create(const Value: Extended); overload;
constructor Create(const Value: Currency); overload;
constructor Create(const Value: Integer); overload;
constructor Create(const Value: Cardinal); overload;
constructor Create(const Value: Int64); overload;
constructor Create(const Value: UInt64); overload;
C++
__fastcall TJSONNumber(const System::UnicodeString Value)/* overload */;
__fastcall TJSONNumber(const double Value)/* overload */;
__fastcall TJSONNumber(const System::Extended Value)/* overload */;
__fastcall TJSONNumber(const System::Currency Value)/* overload */;
__fastcall TJSONNumber(const int Value)/* overload */;
__fastcall TJSONNumber(const unsigned Value)/* overload */;
__fastcall TJSONNumber(const __int64 Value)/* overload */;
__fastcall TJSONNumber(const unsigned __int64 Value)/* overload */;
/* TJSONString.Create */ inline __fastcall virtual TJSONNumber()/* overload */ : TJSONString() { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONNumber |
説明
TJSONNumber クラスのインスタンスを作成します。
TJSONNumber クラスのインスタンスを作成するには、Create を呼び出します。
Value パラメータとしてデータを与えると、その値を使用して JSON 数値が初期化されます。