API:System.JSON.TJSONNumber.ToString
Delphi
function ToString: string; override;
C++
virtual System::UnicodeString __fastcall ToString(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONNumber |
Description
Serializes the current JSON string value into a quoted string.
System.JSON.TJSONNumber.ToString inherits from System.JSON.TJSONString.ToString. All content below this line refers to System.JSON.TJSONString.ToString.
Serializes the current JSON string value into a quoted string.
ToString returns the quoted (surrounded by "
quotation marks) string representing the actual JSON string data.
ToString returns an empty string ''
if JSON string keeps null
.
To serialize the JSON string into a byte container, use the ToBytes method.
Compare with Value.