dataset-serialize-adapter-restrequest4delphi
dataset-serialize-adapter-restrequest4delphi copied to clipboard
DataSet-Serialize adapter for RESTRequest4Delphi
DataSet-Serialize Adapter for RESTRequest4Delphi
This's DataSet-Serialize adapter for RESTRequest4Delphi. Allows loading a DataSet with the content of a request.
Buy our official training by clicking here! We created a channel on Telegram for questions and support:
⭕ Prerequisites
- DataSet-Serialize - JSON to DataSet and DataSet to JSON converter for Delphi and Lazarus (FPC)
- RESTRequest4Delphi - API to consume REST services written in any programming language with support to Lazarus and Delphi
⚙️ Installation
Installation is done using the boss install
command:
boss install github.com/viniciussanchez/dataset-serialize-adapter-restrequest4delphi
If you choose to install manually, simply add the following folders to your project, in Project > Options > Building > Delphi Compiler > Search path
../dataset-serialize-adapter-restrequest4delphi/src
✔️ Compatibility
This adapter is compatible with projects developed in:
- [X] Delphi
- [X] Lazarus
⚡️ Quickstart
uses RESTRequest4D, DataSet.Serialize.Adapter.RESTRequest4D;
begin
TRequest.New.BaseURL('http://localhost:8888/users')
.Adapters(TDataSetSerializeAdapter.New(mtUsers, 'my-optional-root-element'))
.Accept('application/json')
.Get;
end;
⚠️ License
dataset-serialize-adapter-restrequest4delphi
is free and open-source adapter licensed under the MIT License.