System.JSON.TJSONMapper.ToString
Delphi
function ToString(const AValue: T; AFormatIndent: Integer = 0): string; reintroduce; overload;
function ToString(const AValue: TArray<T>; AMaxCount: NativeInt = -1; AFormatIndent: Integer = 0): string; reintroduce; overload;
C++
HIDESBASE System::UnicodeString __fastcall ToString(const T AValue, int AFormatIndent = 0x0)/* overload */;
HIDESBASE System::UnicodeString __fastcall ToString(const System::DynamicArray<T> AValue, System::NativeInt AMaxCount = 0xffffffff, int AFormatIndent = 0x0)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONMapper |
Description
Returns a string containing the class name.
System.JSON.TJSONMapper.ToString inherits from System.TObject.ToString. All content below this line refers to System.TObject.ToString.
Returns a string containing the class name.
By default, the ToString returns a string containing the class name of the instance that is being called.
For example, calling ToString on a TButton instance returns a string containing "TButton".
Note: ToString is intended to be overridden in user-derived classes, to provide consumer objects with a string representation.