Datasnap.DSClientRest.TGetJSONValueCallback
Delphi
TGetJSONValueCallback = reference to function(AValue: TJSONValue): Boolean;
C++
__interface TGetJSONValueCallback : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
anonMethod class |
public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | Datasnap.DSClientRest |
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.