System.Tether.AppProfile.TLocalResource.MarshalToJSON

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MarshalToJSON: TJSONObject; override;

C++

virtual System::Json::TJSONObject* __fastcall MarshalToJSON();

Properties

Type Visibility Source Unit Parent
function protected
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TLocalResource

Description

Returns an instance of TJSONObject that contains information about the local resource.

The JSON object contains the following data:

Key Value

ResourceType

Instance of TJSONNumber that contains the integer that identifies the type of data of the local resource.

DataType

Instance of TJSONNumber that contains the integer that identifies the type of data of the resource value that the local resource wraps.

Value

Resource value that the local resource wraps.

Value is an instance of TJSONNumber if the resource value is an integer number, a floating-point number, a boolean (0 is False, 1 is True), or an instance of TJSONString if the resource value is a string.

See Also