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. {{#multireplace:System.JSON.TJSONNumber.ToString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.JSON.TJSONString.ToString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.JSON.TJSONString.ToString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.