System.JSON.TJSONString.ToString

From RAD Studio API Documentation
Jump to: navigation, search

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 TJSONString

Description

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.

See Also