System.JSON.TJSONPair.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 TJSONPair

Description

Serializes the current JSON pair into a string and returns the resulting string.

If a key or value part equals to nil, then ToString returns an empty '' string.

To serialize the JSON array into a byte container, use the ToBytes method.

See Also