Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

dataset-serialize-adapter-restrequest4delphi

DataSet-Serialize adapter for RESTRequest4Delphi

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

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:

bash
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

pascal
../dataset-serialize-adapter-restrequest4delphi/src

✔️ Compatibility

This adapter is compatible with projects developed in:

  • [X] Delphi
  • [X] Lazarus

⚡️ Quickstart

delphi
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.