API:System.JSON.TJSONBool.Value

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Value: string; override;

C++

virtual System::UnicodeString __fastcall Value();

Properties

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

Description

Returns the string representation of a simple JSON element like a string, number or boolean.

System.JSON.TJSONBool.Value inherits from System.JSON.TJSONAncestor.Value. All content below this line refers to System.JSON.TJSONAncestor.Value.

Returns the string representation of a simple JSON element like a string, number or boolean.

For structured JSON elements like an object and array returns empty string.

This method does not perform any kind of encoding.

It also does not quote the string as .ToString and .ToJSON do.

See Also