Datasnap.DSClientRest.TGetJSONValueCallback

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
anonMethod
class
Visibility: public
Source:
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Unit: Datasnap.DSClientRest
Parent: Datasnap.DSClientRest

Delphi

TGetJSONValueCallback = reference to function(AValue: TJSONValue): Boolean;

C++

__interface TGetJSONValueCallback  : public System::IInterface

Description

Function for determining whether a given TJSONValue is supported.

TGetJSONValueCallback, as used in the GetJSONValueCallback function, can be implemented to check the JSON value being passed in and returns True if the function supports that type. It is used when working with cached values. In GetJSONValueCallback, if the callback returns False, nil will be returned instead of the TJSONValue that was passed into the callback.

See Also