Datasnap.DSService.TDSRequestFilter.ToJSON

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSService.pas
Datasnap.DSService.hpp
Unit: Datasnap.DSService
Parent: TDSRequestFilter

Delphi

function ToJSON(Value: T; IsLocal: Boolean): TJSONValue; virtual; abstract;

C++

virtual System::Json::TJSONValue* __fastcall ToJSON(T Value, bool IsLocal) = 0 ;

Description

Converts the given value to a JSON.

The ToJSON method converts the given value to a TJSONValue. The IsLocal parameter controls the life cycle and is True for an in-process value.

See Also