REST.Response.Adapter.TRESTResponseDataSetAdapter

From RAD Studio API Documentation
Jump to: navigation, search

REST.Response.Adapter.TCustomRESTResponseDataSetAdapterSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTRESTResponseDataSetAdapter

Delphi

TRESTResponseDataSetAdapter = class(TCustomRESTResponseDataSetAdapter)

C++

class PASCALIMPLEMENTATION TRESTResponseDataSetAdapter : public TCustomRESTResponseDataSetAdapter

Properties

Type Visibility Source Unit Parent
class public
REST.Response.Adapter.pas
REST.Response.Adapter.hpp
REST.Response.Adapter REST.Response.Adapter

Description

This class provides the necessary functionalities so that a dataset can be updated from a REST response with the information contained in a TJSONValue.

TRESTResponseDataSetAdapter allows to associate the adapter with either a REST response or a REST JSON response.

In order for TRESTResponseDataSetAdapter to consume a JSON value not created with an standard TRESTResponse, assign an instance of TRESTResponseJSON to the ResponseJSON property.

See Also