Datasnap.DSService.TDSRequestFilter.ToJSON
Delphi
function ToJSON(Value: T; IsLocal: Boolean): TJSONValue; virtual; abstract;
C++
virtual System::Json::TJSONValue* __fastcall ToJSON(T Value, bool IsLocal) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSService.pas Datasnap.DSService.hpp |
Datasnap.DSService | TDSRequestFilter |
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.