System.JSON.TJSONAncestor.ToString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ToString: string; override;

C++

virtual System::UnicodeString __fastcall ToString();

Properties

Type Visibility Source Unit Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONAncestor

Description

Returns the string representation of the JSON object.

Non-ASCII characters (above ASCII 127) and low ASCII characters (below ASCII 32) are represented as they are.

Special characters like a quote, backslash, tab, new-line, line-feed, etc., are encoded using "\C" format.

This format is more readable than the one returned by .ToJSON.

The string is double-quoted.

See Also